|
|
|
Jeanfrancois Arcand
|
Salut,
The Bayeux Protocol is not supported by Atmosphere 0.3-SNAPSHOT * http://cometdproject.dojotoolkit.org/ The implementation build on top of atmosphere-cpr, and use the implementation maintained by the Cometd team (mostly Greg Wilkin from Jetty) This is a good example of how easy Atmosphere can be extended, e.g take another framework and run it on top of us. Just needed to add: > <atmosphere-handlers> > <atmosphere-handler context-root="/cometd" class-name="org.atmosphere.handler.ReflectorServletProcessor"> > <property name="servletClass" value="org.atmosphere.bayeux.AtmosphereBayeuxServlet"/> > </atmosphere-handler> > </atmosphere-handlers> Now get ready we gonna soon put Jersey into the picture! You can download a samples from here: * http://is.gd/15Rbt Now it seems the update are not always real time...but the same issue happens without Atmosphere. I've contacted Greg W. about it :-) Thanks -- Jeanfrancois --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
|
Adam Al-Salman
|
Hello,
The atmosphere-bayeux-samples-0.3.1-sources.jar does not contain the java source code. I am looking for the code for CometdDemoServlet.java, ChatService.java and CometdDemo.java. I have found code at http://svn.cometd.org/trunk/cometd-java/examples/src/main/java/org/cometd/examples/ but this does not work with atmosphere. Regards, Adam |
||||
|
Jeanfrancois Arcand
|
Salut,
Adam Al-Salman wrote: > Hello, > > The atmosphere-bayeux-samples-0.3.1-sources.jar does not contain the java > source code. I am looking for the code for CometdDemoServlet.java, > ChatService.java and CometdDemo.java. > > I have found code at > http://svn.cometd.org/trunk/cometd-java/examples/src/main/java/org/cometd/examples/ > but this does not work with atmosphere. The source code can be downloaded from Cometd.org directly as it runs without any modifications in Atmosphere. Have you modified the web.xml and added the atmosphere.xml file? I will add the source code the Atmosphere 0.5 so it is less confusing. Thanks! -- Jeanfrancois > > Regards, > > Adam --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
|
Adam Al-Salman
|
Thank you, my web.xml was using org.cometd.server.continuation.ContinuationCometdServlet instead of org.atmosphere.cpr.AtmosphereServlet for the servlet-class.
|
||||||||||||||||
|
Jeanfrancois Arcand
|
Adam Al-Salman wrote: > Thank you, my web.xml was using > org.cometd.server.continuation.ContinuationCometdServlet instead of > org.atmosphere.cpr.AtmosphereServlet for the servlet-class. Great! Let us know how it goes. -- Jeanfrancois --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
|
Dustin Whitney
|
Is this a Jetty only thing?
-Dustin On Thu, Oct 29, 2009 at 1:06 PM, Jeanfrancois Arcand <[hidden email]> wrote:
|
||||||||||||||||
|
Jeanfrancois Arcand
|
Salut,
Dustin Whitney wrote: > Is this a Jetty only thing? No :-) If you use Cometd.org/Bayeux implementation directly (without Atmosphere), it will scale only on Jetty as under the hood it use Jetty Continuation, and when deployed on Tomcat or GlassFish, uses a blocking threads. If you run it on top of Atmosphere there is not that issue, e.g it will use native Comet API from Tomcat and Glassfish, hence will not only scale on Jetty. Hope that help. -- Jeanfrancois > > -Dustin > > On Thu, Oct 29, 2009 at 1:06 PM, Jeanfrancois Arcand > <[hidden email] <mailto:[hidden email]>> wrote: > > > > Adam Al-Salman wrote: > > Thank you, my web.xml was using > org.cometd.server.continuation.ContinuationCometdServlet instead of > org.atmosphere.cpr.AtmosphereServlet for the servlet-class. > > > Great! Let us know how it goes. > > -- Jeanfrancois > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > <mailto:[hidden email]> > For additional commands, e-mail: [hidden email] > <mailto:[hidden email]> > > --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
|
Adam Al-Salman
|
In reply to this post
by Jeanfrancois Arcand
I am having a problem when i restart GlassFish v3 Prelude Domain with the atmosphere-bayeux-samples-0.3.1.war (http://download.java.net/maven/2/org/atmosphere/samples/atmosphere-bayeux-samples/0.3.1/atmosphere-bayeux-samples-0.3.1.war) already deployed.
It works fine when I use asadmin to undeploy and deploy atmosphere-bayeux-samples-0.3.1.war but when I restart glassfish it can't seem to find org.atmosphere.cpr.AtmosphereServlet even though it is included in atmosphere-portable-runtime-0.3.1.jar library file. INFO: Unknown loader Class Loader for Bundle [GlassFish-Application-Common-Module [69] ] class org.jvnet.hk2.osgiadapter.OSGiModuleImpl$2 INFO: PWC1412: WebModule[/atmosphere-bayeux-samples-0.3.1] ServletContext.log():PWC1409: Marking servlet cometd as unavailable SEVERE: WebModule[/atmosphere-bayeux-samples-0.3.1]Error loading WebappClassLoader delegate: true repositories: ----------> Parent Classloader: java.net.URLClassLoader@9a8a68 org.atmosphere.cpr.AtmosphereServlet java.lang.ClassNotFoundException: org.atmosphere.cpr.AtmosphereServlet at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1509) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1132) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1038) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4953) at org.apache.catalina.core.StandardContext.start(StandardContext.java:5350) at com.sun.enterprise.web.WebModule.start(WebModule.java:456) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:922) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:906) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2205) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1890) at com.sun.enterprise.web.WebApplication.start(WebApplication.java:85) at com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:560) at com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:547) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:189) at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:260) at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:97) at com.sun.enterprise.v3.server.ApplicationLoaderInjector.postConstruct(ApplicationLoaderInjector.java:61) at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:150) at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:90) at java.security.AccessController.doPrivileged(Native Method) at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:87) at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75) at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58) at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107) at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60) at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:203) at com.sun.enterprise.v3.server.AppServerStartup$1.run(AppServerStartup.java:116) SEVERE: WebModule[/atmosphere-bayeux-samples-0.3.1]PWC1396: Servlet /atmosphere-bayeux-samples-0.3.1 threw load() exception java.lang.ClassNotFoundException: org.atmosphere.cpr.AtmosphereServlet at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1509) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1132) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1038) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4953) at org.apache.catalina.core.StandardContext.start(StandardContext.java:5350) at com.sun.enterprise.web.WebModule.start(WebModule.java:456) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:922) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:906) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2205) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1890) at com.sun.enterprise.web.WebApplication.start(WebApplication.java:85) at com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:560) at com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:547) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:189) at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:260) at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:97) at com.sun.enterprise.v3.server.ApplicationLoaderInjector.postConstruct(ApplicationLoaderInjector.java:61) at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:150) at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:90) at java.security.AccessController.doPrivileged(Native Method) at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:87) at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75) at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58) at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107) at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60) at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:203) at com.sun.enterprise.v3.server.AppServerStartup$1.run(AppServerStartup.java:116) SEVERE: ContainerBase.addChild: start: LifecycleException: java.lang.ClassNotFoundException: org.atmosphere.cpr.AtmosphereServlet at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4963) at org.apache.catalina.core.StandardContext.start(StandardContext.java:5350) at com.sun.enterprise.web.WebModule.start(WebModule.java:456) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:922) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:906) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2205) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1890) at com.sun.enterprise.web.WebApplication.start(WebApplication.java:85) at com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:560) at com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:547) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:189) at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:260) at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:97) at com.sun.enterprise.v3.server.ApplicationLoaderInjector.postConstruct(ApplicationLoaderInjector.java:61) at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:150) at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:90) at java.security.AccessController.doPrivileged(Native Method) at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:87) at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75) at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58) at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107) at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60) at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:203) at com.sun.enterprise.v3.server.AppServerStartup$1.run(AppServerStartup.java:116) WARNING: java.lang.IllegalStateException: ContainerBase.addChild: start: LifecycleException: java.lang.ClassNotFoundException: org.atmosphere.cpr.AtmosphereServlet java.lang.IllegalStateException: ContainerBase.addChild: start: LifecycleException: java.lang.ClassNotFoundException: org.atmosphere.cpr.AtmosphereServlet at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:926) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:906) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2205) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1890) at com.sun.enterprise.web.WebApplication.start(WebApplication.java:85) at com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:560) at com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:547) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:189) at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:260) at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:97) at com.sun.enterprise.v3.server.ApplicationLoaderInjector.postConstruct(ApplicationLoaderInjector.java:61) at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:150) at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:90) at java.security.AccessController.doPrivileged(Native Method) at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:87) at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75) at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58) at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107) at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60) at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:203) at com.sun.enterprise.v3.server.AppServerStartup$1.run(AppServerStartup.java:116) SEVERE: Exception while invoking class com.sun.enterprise.web.WebApplication start method java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: LifecycleException: java.lang.ClassNotFoundException: org.atmosphere.cpr.AtmosphereServlet at com.sun.enterprise.web.WebApplication.start(WebApplication.java:111) at com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:560) at com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:547) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:189) at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:260) at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:97) at com.sun.enterprise.v3.server.ApplicationLoaderInjector.postConstruct(ApplicationLoaderInjector.java:61) at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:150) at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:90) at java.security.AccessController.doPrivileged(Native Method) at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:87) at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75) at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58) at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107) at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60) at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:203) at com.sun.enterprise.v3.server.AppServerStartup$1.run(AppServerStartup.java:116) SEVERE: Exception while deploying the app java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: LifecycleException: java.lang.ClassNotFoundException: org.atmosphere.cpr.AtmosphereServlet at com.sun.enterprise.web.WebApplication.start(WebApplication.java:111) at com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:560) at com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:547) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:189) at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:260) at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:97) at com.sun.enterprise.v3.server.ApplicationLoaderInjector.postConstruct(ApplicationLoaderInjector.java:61) at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:150) at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:90) at java.security.AccessController.doPrivileged(Native Method) at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:87) at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75) at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58) at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107) at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60) at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:203) at com.sun.enterprise.v3.server.AppServerStartup$1.run(AppServerStartup.java:116) INFO: classLoader = WebappClassLoader delegate: true repositories: WEB-INF/classes/ ----------> Parent Classloader: org.glassfish.internal.api.DelegatingClassLoader@1b9a538 INFO: SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@1ee2ea8 SEVERE: Exception while deploying the app : java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: LifecycleException: java.lang.ClassNotFoundException: org.atmosphere.cpr.AtmosphereServlet INFO: Sun GlassFish Enterprise Server v3 Prelude startup time : Felix(2407ms) startup services(12330ms) total(14737ms) INFO: Started bundle org.glassfish.admin.monitoring-core [85] |
||||||||||||||||
|
Jeanfrancois Arcand
|
Salut,
Adam Al-Salman wrote: > I am having a problem when i restart GlassFish v3 Prelude Domain with the > atmosphere-bayeux-samples-0.3.1.war > (http://download.java.net/maven/2/org/atmosphere/samples/atmosphere-bayeux-samples/0.3.1/atmosphere-bayeux-samples-0.3.1.war) > already deployed. Looks like a deployment bug in GlassFish Prelude that have been fixed with Preview and the current GF v3 b70. Can you update to a more recent build? Thanks -- Jeanfrancois > > It works fine when I use asadmin to undeploy and deploy > atmosphere-bayeux-samples-0.3.1.war but when I restart glassfish it can't > seem to find org.atmosphere.cpr.AtmosphereServlet even though it is included > in atmosphere-portable-runtime-0.3.1.jar library file. > > INFO: Unknown loader Class Loader for Bundle > [GlassFish-Application-Common-Module [69] ] class > org.jvnet.hk2.osgiadapter.OSGiModuleImpl$2 > INFO: PWC1412: WebModule[/atmosphere-bayeux-samples-0.3.1] > ServletContext.log():PWC1409: Marking servlet cometd as unavailable > SEVERE: WebModule[/atmosphere-bayeux-samples-0.3.1]Error loading > WebappClassLoader > delegate: true > repositories: > ----------> Parent Classloader: > java.net.URLClassLoader@9a8a68 > org.atmosphere.cpr.AtmosphereServlet > java.lang.ClassNotFoundException: org.atmosphere.cpr.AtmosphereServlet > at > org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1509) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1132) > at > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1038) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4953) > at > org.apache.catalina.core.StandardContext.start(StandardContext.java:5350) > at com.sun.enterprise.web.WebModule.start(WebModule.java:456) > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:922) > at > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:906) > at > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696) > at > com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2205) > at > com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1890) > at > com.sun.enterprise.web.WebApplication.start(WebApplication.java:85) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:560) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:547) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:189) > at > com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:260) > at > com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:97) > at > com.sun.enterprise.v3.server.ApplicationLoaderInjector.postConstruct(ApplicationLoaderInjector.java:61) > at > com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:150) > at > com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:90) > at java.security.AccessController.doPrivileged(Native Method) > at > com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:87) > at > com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75) > at > com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58) > at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107) > at > com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60) > at > com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:203) > at > com.sun.enterprise.v3.server.AppServerStartup$1.run(AppServerStartup.java:116) > SEVERE: WebModule[/atmosphere-bayeux-samples-0.3.1]PWC1396: Servlet > /atmosphere-bayeux-samples-0.3.1 threw load() exception > java.lang.ClassNotFoundException: org.atmosphere.cpr.AtmosphereServlet > at > org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1509) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1132) > at > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1038) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4953) > at > org.apache.catalina.core.StandardContext.start(StandardContext.java:5350) > at com.sun.enterprise.web.WebModule.start(WebModule.java:456) > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:922) > at > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:906) > at > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696) > at > com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2205) > at > com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1890) > at > com.sun.enterprise.web.WebApplication.start(WebApplication.java:85) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:560) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:547) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:189) > at > com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:260) > at > com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:97) > at > com.sun.enterprise.v3.server.ApplicationLoaderInjector.postConstruct(ApplicationLoaderInjector.java:61) > at > com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:150) > at > com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:90) > at java.security.AccessController.doPrivileged(Native Method) > at > com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:87) > at > com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75) > at > com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58) > at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107) > at > com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60) > at > com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:203) > at > com.sun.enterprise.v3.server.AppServerStartup$1.run(AppServerStartup.java:116) > SEVERE: ContainerBase.addChild: start: > LifecycleException: java.lang.ClassNotFoundException: > org.atmosphere.cpr.AtmosphereServlet > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4963) > at > org.apache.catalina.core.StandardContext.start(StandardContext.java:5350) > at com.sun.enterprise.web.WebModule.start(WebModule.java:456) > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:922) > at > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:906) > at > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696) > at > com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2205) > at > com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1890) > at > com.sun.enterprise.web.WebApplication.start(WebApplication.java:85) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:560) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:547) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:189) > at > com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:260) > at > com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:97) > at > com.sun.enterprise.v3.server.ApplicationLoaderInjector.postConstruct(ApplicationLoaderInjector.java:61) > at > com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:150) > at > com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:90) > at java.security.AccessController.doPrivileged(Native Method) > at > com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:87) > at > com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75) > at > com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58) > at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107) > at > com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60) > at > com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:203) > at > com.sun.enterprise.v3.server.AppServerStartup$1.run(AppServerStartup.java:116) > WARNING: java.lang.IllegalStateException: ContainerBase.addChild: start: > LifecycleException: java.lang.ClassNotFoundException: > org.atmosphere.cpr.AtmosphereServlet > java.lang.IllegalStateException: ContainerBase.addChild: start: > LifecycleException: java.lang.ClassNotFoundException: > org.atmosphere.cpr.AtmosphereServlet > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:926) > at > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:906) > at > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696) > at > com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2205) > at > com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1890) > at > com.sun.enterprise.web.WebApplication.start(WebApplication.java:85) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:560) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:547) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:189) > at > com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:260) > at > com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:97) > at > com.sun.enterprise.v3.server.ApplicationLoaderInjector.postConstruct(ApplicationLoaderInjector.java:61) > at > com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:150) > at > com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:90) > at java.security.AccessController.doPrivileged(Native Method) > at > com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:87) > at > com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75) > at > com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58) > at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107) > at > com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60) > at > com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:203) > at > com.sun.enterprise.v3.server.AppServerStartup$1.run(AppServerStartup.java:116) > SEVERE: Exception while invoking class com.sun.enterprise.web.WebApplication > start method > java.lang.Exception: java.lang.IllegalStateException: > ContainerBase.addChild: start: LifecycleException: > java.lang.ClassNotFoundException: org.atmosphere.cpr.AtmosphereServlet > at > com.sun.enterprise.web.WebApplication.start(WebApplication.java:111) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:560) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:547) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:189) > at > com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:260) > at > com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:97) > at > com.sun.enterprise.v3.server.ApplicationLoaderInjector.postConstruct(ApplicationLoaderInjector.java:61) > at > com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:150) > at > com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:90) > at java.security.AccessController.doPrivileged(Native Method) > at > com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:87) > at > com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75) > at > com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58) > at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107) > at > com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60) > at > com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:203) > at > com.sun.enterprise.v3.server.AppServerStartup$1.run(AppServerStartup.java:116) > SEVERE: Exception while deploying the app > java.lang.Exception: java.lang.IllegalStateException: > ContainerBase.addChild: start: LifecycleException: > java.lang.ClassNotFoundException: org.atmosphere.cpr.AtmosphereServlet > at > com.sun.enterprise.web.WebApplication.start(WebApplication.java:111) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:560) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:547) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:189) > at > com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:260) > at > com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:97) > at > com.sun.enterprise.v3.server.ApplicationLoaderInjector.postConstruct(ApplicationLoaderInjector.java:61) > at > com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:150) > at > com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:90) > at java.security.AccessController.doPrivileged(Native Method) > at > com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:87) > at > com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75) > at > com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58) > at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107) > at > com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60) > at > com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:203) > at > com.sun.enterprise.v3.server.AppServerStartup$1.run(AppServerStartup.java:116) > INFO: classLoader = WebappClassLoader > delegate: true > repositories: > WEB-INF/classes/ > ----------> Parent Classloader: > org.glassfish.internal.api.DelegatingClassLoader@1b9a538 > INFO: SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@1ee2ea8 > SEVERE: Exception while deploying the app : java.lang.Exception: > java.lang.IllegalStateException: ContainerBase.addChild: start: > LifecycleException: java.lang.ClassNotFoundException: > org.atmosphere.cpr.AtmosphereServlet > INFO: Sun GlassFish Enterprise Server v3 Prelude startup time : > Felix(2407ms) startup services(12330ms) total(14737ms) > INFO: Started bundle org.glassfish.admin.monitoring-core [85] > --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
| Free Embeddable Forum Powered by Nabble | Help |