I am trying to use ICEPush in an application which is being deployed to Glassfish 3.1.2, and cannot get ICEPush to push in either IE 8 or Chrome. It is working in Firefox.
Snippet from my web.xml:
<servlet>
<servlet-name>Swarm Application</servlet-name>
<servlet-class>com.delcan.crms.application.SwarmServlet</servlet-class>
<init-param>
<description>Application widgetset</description>
<param-name>widgetset</param-name>
<param-value>com.delcan.crms.application.widgetset.ICEPush</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>Swarm Application</servlet-name>
<url-pattern>/crms/*</url-pattern>
<url-pattern>/VAADIN/*</url-pattern>
<url-pattern>*.icepush</url-pattern>
</servlet-mapping>
The servlet above is implemented as
public class SwarmServlet extends ICEPushServlet {
- snip *
}
I have messed around with setting this servlet context:
<context-param>
<param-name>org.icepush.useAsyncContext</param-name>
<param-value>true</param-value>
</context-param>
When it is true, only Firefox receives background updates. When it is false, not even Firefox works.
I can see the long poll in Firefox using the console, and I can see there is not a long poll starting in Chrome. I assume there is no long poll starting in IE either, but there’s no way to see that (that I’m aware of).
Is there something I’m missing here?
Thanks.
(Edited: this is using Vaadin 6.8.6)