James Mortensen | 5 Sep 17:19

Re[dwr-user] verse Ajax Full Streaming Mode in DWR 2.0.5 fails aafter upgrade


Hello,

I am currently using DWR 2.0.1.  It works with both Firefox and IE without
issues.  After replacing the dwr.jar file in WEB-INF/lib with 2.0.5, Reverse
Ajax no longer functions as it did in 2.0.1.

In Firebug, in the Console, I see "Reverse Ajax poll failed (pollRetries=1): 
dwr.engine.missingData : No data received from the server Giving up.

With DWR 2.0.1, one would see a spinning icon in Firebug for
/dwr/call/plainpoll/ReverseAjax.dwr.  However, it fails in 2.0.5

According to the documentation, changes to some of the default servlet
parameters have been changed.  Here is what I currently have set in my
web.xml file:

<init-param>
    <param-name>activeReverseAjaxEnabled</param-name>
    <param-value>true</param-value>
  </init-param>

<init-param>
  <param-name>maxWaitAfterWrite</param-name>
  <param-value>-1</param-value>
</init-param>

I have also tried setting maxWaitAfterWrite to 20000, which results in a
piggyback effect.  I believe -1 is what the documentation states for full
streaming reverse ajax; however, the server never pushes any data back to
(Continue reading)


Gmane