DWR too long starting time

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

DWR too long starting time

yongyong313
Hello,

I use DWR 3.0 with GlassFish V4.1 and implemented an asynchronized file upload function. Everytime when I restart the GlassFish server and access my website, it always takes a long time (nearly 97 seconds see following log Info) to start the DwrServlet.

[2017-05-22T10:44:00.226+0200] [glassfish 4.1] [INFO] [] [org.directwebremoting.log.startup] [tid: _ThreadID=84 _ThreadName=http-listener-2(11)] [timeMillis: 1495442640226] [levelValue: 800] [[Starting: DwrServlet v3.0.0-FINAL-653 on GlassFish Server Open Source Edition  4.1.1  / JDK 1.8.0_111 from Oracle Corporation at /ABC]]


[2017-05-22T10:45:37.360+0200] [glassfish 4.1] [INFO] [] [org.directwebremoting.log.startup] [tid: _ThreadID=84 _ThreadName=http-listener-2(11)] [timeMillis: 1495442737360] [levelValue: 800] [[Starting: Using container abstractionorg.directwebremoting.server.servlet2.Servlet24ContainerAbstraction]]

Does anyone has an idea?

Regards

Yong





_______________________________________________
dwr-users mailing list
[hidden email]
http://mail.dojotoolkit.org/mailman/listinfo/dwr-users
Reply | Threaded
Open this post in threaded view
|

Re: DWR too long starting time

Mike Wilson
Administrator
What happens if you deploy the dwrdemo.war and restart Glassfish in the same manner?
 
Best regards
Mike Wilson
 
yonghu wrote:
Hello,

I use DWR 3.0 with GlassFish V4.1 and implemented an asynchronized file upload function. Everytime when I restart the GlassFish server and access my website, it always takes a long time (nearly 97 seconds see following log Info) to start the DwrServlet.

[2017-05-22T10:44:00.226+0200] [glassfish 4.1] [INFO] [] [org.directwebremoting.log.startup] [tid: _ThreadID=84 _ThreadName=http-listener-2(11)] [timeMillis: 1495442640226] [levelValue: 800] [[Starting: DwrServlet v3.0.0-FINAL-653 on GlassFish Server Open Source Edition  4.1.1  / JDK 1.8.0_111 from Oracle Corporation at /ABC]]


[2017-05-22T10:45:37.360+0200] [glassfish 4.1] [INFO] [] [org.directwebremoting.log.startup] [tid: _ThreadID=84 _ThreadName=http-listener-2(11)] [timeMillis: 1495442737360] [levelValue: 800] [[Starting: Using container abstractionorg.directwebremoting.server.servlet2.Servlet24ContainerAbstraction]]

Does anyone has an idea?

Regards

Yong





_______________________________________________
dwr-users mailing list
[hidden email]
http://mail.dojotoolkit.org/mailman/listinfo/dwr-users