Servlet Mapping and DontPushOzoneServlet

Hello experts,
My Vaadin application servlet based off of DontPushOzoneServlet does not work if a url-pattern other than “/*” is used.

What works:

<servlet-mapping>
        <servlet-name>vaadinServlet</servlet-name>
        <url-pattern>/*</url-pattern>
</servlet-mapping>

With above config I can successfully view my default application window by accessing http://localhost:8080/MyApp/ and http://localhost:8080/MyApp/VAADIN

What does not work:

<servlet-mapping>
        <servlet-name>vaadinServlet</servlet-name>
        <url-pattern>/admin/*</url-pattern>
</servlet-mapping>

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

With the above config, I get
“Ooops… Connection to server appears to be broken”
message.

Is there are a way to customize the Vaadin url when using DontPushOzoneServlet ?

Thanks,

Hi,

I haven’t tried this myself but I guess you should modify “context-root” atmosphere config:
http://code.google.com/p/dontpush/source/browse/trunk/dontpush-root/demo-ozonelayer/src/main/webapp/META-INF/atmosphere.xml

cheers,
matti