Hide
First i compiled the latest DWR from svn including the Clock Demo.
Then i deployed it on the latest Tomcat 6.0.24 and tested the Demo with two configurations.
1. tomcat default connector and dwr default servlet
2. tomcat with "org.apache.coyote.http11.Http11NioProtocol" Connector and dwr Tomcat.DwrCometSupport Servlet.
Results:
Config 1 on Firefox : works as expected
Config 1 on IE8 : Clock update every 60 seconds (when the long-poll restarts)
Config 2 on Firefox : works sometimes, but often crashes with one of these messages (pasted from firebug):
Reverse Ajax poll failed (retries=0). Trying again in 2s: dwr.engine.missingData : No data received from server
Reverse Ajax poll failed (retries=0). Trying again in 2s: TypeError : contentType is null
Reverse Ajax poll failed (retries=2). Trying again in 10s: dwr.engine.incompleteReply : Incomplete reply from server
Config2 on IE8 : does not work at all.
Second Test:
I took the DWR3 RC1 Download with the Clock Demo from the page and made the same four tests.
All of them seemed to work!
Show
First i compiled the latest DWR from svn including the Clock Demo.
Then i deployed it on the latest Tomcat 6.0.24 and tested the Demo with two configurations.
1. tomcat default connector and dwr default servlet
2. tomcat with "org.apache.coyote.http11.Http11NioProtocol" Connector and dwr Tomcat.DwrCometSupport Servlet.
Results:
Config 1 on Firefox : works as expected
Config 1 on IE8 : Clock update every 60 seconds (when the long-poll restarts)
Config 2 on Firefox : works sometimes, but often crashes with one of these messages (pasted from firebug):
Reverse Ajax poll failed (retries=0). Trying again in 2s: dwr.engine.missingData : No data received from server
Reverse Ajax poll failed (retries=0). Trying again in 2s: TypeError : contentType is null
Reverse Ajax poll failed (retries=2). Trying again in 10s: dwr.engine.incompleteReply : Incomplete reply from server
Config2 on IE8 : does not work at all.
Second Test:
I took the DWR3 RC1 Download with the Clock Demo from the page and made the same four tests.
All of them seemed to work!