Return value is undefined

Hi,

I’m testing how to “mix” Vaadin with my current web application.

What I did was to add the servlet configuration for the AdressBook sample:


    <servlet>
        <servlet-name>SimpleAddressBook</servlet-name>
        <servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
        <init-param>
            <param-name>application</param-name>
            <param-value>com.mycompany.myapp.SimpleAddressBook</param-value>
        </init-param>
    </servlet>

    <servlet-mapping>
        <servlet-name>SimpleAddressBook</servlet-name>
        <url-pattern>/SimpleAddressBook</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>SimpleAddressBook</servlet-name>
        <url-pattern>/VAADIN/*</url-pattern>
    </servlet-mapping>

I’m running with Tomcat + WTP on Eclipse, and I tried to access the page:
http://localhost:8080/myapp/SimpleAddressBook?debug

I can see the loading gif and the debug console but the application doesn’t appear. In the Firefox log I have simply the error:

Do you have an idea of what is wrong?

Here is the content of the debug console:

There is no error in Tomcat logs.

Thanks

Julien

Hi,

Hmm… Can you check what the server is responding for the XHR request (firebug Net->XHR, look for a POST with ?repaintAll, check the ‘response’ tab)?

Hopefully that will shed some light on this…

Best Regards,
Marc

The error is in French, but translated in English this is something like:

It helps me to find the error in my web.xml:

/SimpleAddressBook
/*

Thank you very much!