users@grizzly.java.net

Re: Comet context doesn't expire

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Fri, 26 Jun 2009 13:33:50 -0400

Salut,

I've deployed the ear file but I'm getting errors:

> [#|2009-06-26T13:13:19.602-0400|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=19;_ThreadName=Timer-5;_RequestID=10dc20c3-7ac6-4e65-82ee-e11a54d123ef;|WebModule[/SampleCometWeb]PWC1396: Servlet /SampleCometWeb threw load() exception
> java.lang.NoClassDefFoundError: org/quartz/Scheduler
> at java.lang.Class.getDeclaredConstructors0(Native Method)
> at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
> at java.lang.Class.getConstructor0(Class.java:2699)
> at java.lang.Class.newInstance0(Class.java:326)
> at java.lang.Class.newInstance(Class.java:308)
> at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1052)
> at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1023)
> at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4980)
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:5387)

Also I needed to add common-logging under the lib dir. Can you send me a
ear/war that I can deploy as -it-is. I really need to reproduce the
exact steps.

Thanks!

-- Jeanfrancois



Czarek Zadorocki wrote:
> Salut!
>
> I've attached grizzly-framework-http-1.0.29.jar file to the classpath
> prefix.
> The classes overide grizzly module classes because the following is in the
> server.log file:
> [#|2009-06-18T11:45:58.921+0200|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=14;_ThreadName=SelectorThread-8080;|Grizzly
> 1.0.29|#]
>
> The problem is that my application uses a quartz job that frequently
> notifies a comet context.
> The application works fine on Glassfish v2.1_02 (build b04-fcs) beacuse the
> comet context is terminated.
> But when deployed onto v2.1-b60e the context is not terminated.
> I attach the simple http://www.nabble.com/file/p24090476/SampleComet.ear
> SampleComet.ear test application accessible via URL
> http://localhost:8080/FxLoaderWeb/FxLoaderServlet
>
>
> Thanks
> Czarek