0

I just try the Atmosphere framework. I made the chat sample running in Tomcat 7.0.27 but when I want to run it with GlassFish 3.1.2 then I only get the message:

"org.apache.catalina.LifecycleException: java.lang.NoClassDefFoundError: org/apache/catalina/comet/CometProcessor".

What am I doing wrong? I use the built-in GlassFish from NetBeans IDE 7.1.2.

Kindly regards,

Benny

Benny Code
  • 51,456
  • 28
  • 233
  • 198

3 Answers3

0

Ok. I found the solution! In NetBeans you have to click on "Enable Comet Support" in "Tools" - "Servers" - "GlassFish":

Enable Comet Support in GlassFish

Benny Code
  • 51,456
  • 28
  • 233
  • 198
0

Are you having similar exception stack trace as in this question? If your answer is comfirmative then you're facing a bug in glassfish's grizzly-websockets.jar module.

Community
  • 1
  • 1
Greg
  • 423
  • 5
  • 11
0

I'm sure its way too late for this answer, but for anyone else, the problem is that the atmosphere catalina jars are missing. These can be gotten from either the atmosphere project or Tomcat. Just be sure to get the correct versions. At the time of this writing, the jars were atmosphere-compat-tomcat7-1.0.2.jar and atmosphere-compat-tomcat-1.0.2.jar.

Ender
  • 1,652
  • 2
  • 25
  • 50