Error in Polling in Version 2.0.3 ?

View: New views
2 Messages — Rating Filter:   Alert me  

Error in Polling in Version 2.0.3 ?

by stojadinovicp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi everyone,

unfortunately I don't remeber which dwr2.0.x I downlaoded but I know that I had to use timeToNextPoll so its probably dwr2.0.1

Anyway, I use polling:
                <init-param>
                        <param-name>org.directwebremoting.extend.ServerLoadMonitor</param-name>
                        <param-value>org.directwebremoting.impl.PollingServerLoadMonitor</param-value>
                </init-param>
and everything is just peachy. Except that "dwr not defined" error which is solved in 2.0.3

HOWEVER, once I downloaded 2.0.3 and installed EVERYTHING went unbearably slow! After poking and poking it looks as if the browser is not doing polling but rather piggyback :(((

I need polling :( piggyback is too slow for my app and frankly not even an option cause its a multiplayer game.

I tried changing timeToNextPoll to disconnectedTime but that didn't help :(

I'm also a bit confused about:
                <servlet-class>uk.ltd.getahead.dwr.DWRServlet</servlet-class>
because I found an example which says to use:
                <servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class>

However, I tried this as well with no effect :(

Am I missing something or did the 2.0.3 kill the Polling?

THANKS!!!

Re: Error in Polling in Version 2.0.3 ?

by Joe Walker-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


There were polling bugs in 2.0.3 and 3.0m1. I believe that I've squashed them, and that we'll be able to release new versions soon.
Joe

On Mon, Mar 10, 2008 at 10:47 PM, stojadinovicp <stojadinovic_p@...> wrote:

Hi everyone,

unfortunately I don't remeber which dwr2.0.x I downlaoded but I know that I
had to use timeToNextPoll so its probably dwr2.0.1

Anyway, I use polling:
               <init-param>
                       <param-name>org.directwebremoting.extend.ServerLoadMonitor</param-name>

<param-value>org.directwebremoting.impl.PollingServerLoadMonitor</param-value>
               </init-param>
and everything is just peachy. Except that "dwr not defined" error which is
solved in 2.0.3

HOWEVER, once I downloaded 2.0.3 and installed EVERYTHING went unbearably
slow! After poking and poking it looks as if the browser is not doing
polling but rather piggyback :(((

I need polling :( piggyback is too slow for my app and frankly not even an
option cause its a multiplayer game.

I tried changing timeToNextPoll to disconnectedTime but that didn't help :(

I'm also a bit confused about:
               <servlet-class>uk.ltd.getahead.dwr.DWRServlet</servlet-class>
because I found an example which says to use:
               <servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class>

However, I tried this as well with no effect :(

Am I missing something or did the 2.0.3 kill the Polling?

THANKS!!!
--
View this message in context: http://www.nabble.com/Error-in-Polling-in-Version-2.0.3---tp15964676p15964676.html
Sent from the DWR - Issues mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...


LightInTheBox - Buy quality products at wholesale price