13 May 13:46
RE: Long time processing in the DwrServlet.service()
From: Mike Wilson <mikewse@...>
Subject: RE: Long time processing in the DwrServlet.service()
Newsgroups: gmane.comp.java.dwr.user
Date: 2008-05-13 11:46:40 GMT
Expires: This article expires on 2008-05-27
Subject: RE: Long time processing in the DwrServlet.service()
Newsgroups: gmane.comp.java.dwr.user
Date: 2008-05-13 11:46:40 GMT
Expires: This article expires on 2008-05-27
Hi Dmitry, I would suggest you try your application in a regular servlet engine, like f ex Tomcat or Jetty, and report back if you still have any problems. Reproducing your error in a "standard" environment will make it much easier for other developers on the list to help you. BTW: What is your impression of Simple framework? (There doesn't seem to have been much activity the last years.) Best regards Mike Wilson > -----Original Message----- > From: Dmitry Kudrenko [mailto:dmitry@...] > Sent: den 12 maj 2008 12:56 > To: users@... > Subject: [dwr-user] Long time processing in the DwrServlet.service() > > Greetings > > I am using DWR with Simple framework > (http://www.simpleframework.org/). It has own Simple API which is > different from servlet-api. But I use Adaptor pattern to convert > simple.Request to HttpServletRequest and HttpServletResponse > to simple.Response. > > Also I am using Reverse Ajax in my web application. > > Simple request handler receives request and forwards it to the DWR > Servlet using DwrServlet.service(request, response) method. DWR > Servlet configured properly and it works. > > Sometimes I have strange behavior: request is being processed > 1 minute but > method on the class mapped to javascript works only 10 msec. > > I received this statistic wrapping DwrServlet.service with timer1 and > adding timer2 to the my Java class. > > timer1.maximum value = 1 minute (The maximum time is the same > as maximum time for Reverse Ajax request) > timer2.maximum value = 10 msec. > > This situation is hard to reproduce in my local version of the > application. But I have this statistic often in the live system. So it > is hard to debug it. > > It seems the number of these errors depends on browser (can't > reproduce it with FireFox) and connection quality. (Not sure). > > Have you idea where the request can be 60 sec in the > DwrServlet.service? > > Thanks in advance. > > -- > Best regards, > Dmitry Kudrenko > ARDAS group (http://www.ardas.dp.ua) > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... >
RSS Feed