Google AppEngine Session Expired

I just made a new vaadin project as described in the
. I added some link and an upload button. The I deployed the application on
. As you can see, when the “Upload” button is clicked, then the “Session Expired Take note of any unsaved data, and click here to continue.” appears.
This is the web.xml file

<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="" xmlns:xsi="" xsi:schemaLocation="">
		Vaadin production mode</description>
		<servlet-name>Testappengine2 Application</servlet-name>
			Vaadin application class to start</description>
		<servlet-name>Testappengine2 Application</servlet-name>

And this is the appengine-web.xml:

<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="">
	<!-- Configure java.util.logging -->
		<property name="java.util.logging.config.file" value="WEB-INF/"/>

Where am I wrong?

Note that I used Vaadin version 6.3 and 6.4. I made other Appengine application before, but I did not encounter this problem with previous versions.

Does anyone know if the upload component works with appengine? If it works, then how do you implement the receiver so that the file is stored in memory or in a blob? I tried to use ByteArrayOutputStream, but it did non work. Do you have any suggestion?

GAE indeed makes this a bit convoluted, but implementing a stream that will receive the uploaded bytes to memory is easy. Eg.

public class UploadOutputStream extends OutputStream implements Serializable {
	private static final int SIZE = 256 * 1024;

	private byte[] buffer = new byte[SIZE]

	private int written = 0;

	public void write(int b) throws IOException {
		if (written >= SIZE - 1)
			throw new IOException("Buffer is full");

 = (byte) b;
	public byte[] getBuffer() {
		return buffer;

Thank you