-
-
Notifications
You must be signed in to change notification settings - Fork 754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failed to create comet support class #912
Comments
ok i guess it doesn't work with jetty 9 M3 yet; and that's the only version of jetty 9 supported in run jetty run. |
Jetty 9 is only supported with the 1.1.x release. Try the latest 1.1.0-SNAPSHOT and RC0. Thanks |
1.1.0.beta3 should work. Try it and let me know, I will patch to make it work. |
With 1.1.0RC3 I see (I use Jetty 9) |
I cannot reproduce this issue...please paste the entire stack trace |
OK found the issue. Seems the order the classes are loaded cause this to happen. |
Hi, Got the same issue. Could you please give us the correct order of the jar, for Tomcat 7, please? Thanks a lot This is the stack: |
@pmullot : you are using Atmospherer 2.0.0.RC4 right? 1.0.x is not supported with Jetty 9. |
Atmospherer 2.0.0.RC3 actually, but as far as I know, I'm not using jetty.. I'm just trying to make it work inside Eclipse (Kepler) on a Tomcat v7.0 server |
You have Jetty classes in your classpath somewhere. To fix that, just add in your web.xml <init-param>
<param-name>org.atmosphere.cpr.asyncSupport</param-name>
<param-value>org.atmosphere.container.Tomcat7Servlet30SupportWithWebSocket</param-value>
</init-param> You don't need any of those dependencies. Let's continue the discussion on the mailing list as this is unrelated to that issue. |
Thanks! |
Facing similar problem. I am getting following error I am using Nettosphere. I do have a something in path which contains Jetty. I am using following in pom.xml so version of Atmosphere is also 2.3.1 nettosphere-version---2.3. Is there a recommendation ? |
This causes nettosphere to not start. |
@mchaudhary Please use the mailing list for question. Your issue: you have jetty's jar in the classpath, so either set the AsyncSupport class in web.xml, or remove Jetty. Please ask question on the ML https://groups.google.com/group/atmosphere-framework?pli=1 Thanks! |
Hey;
I'm trying to run the chat sample (not just run it using the war file).
However when connecting to the server I run into this problem.
"java.lang.IllegalArgumentException: Comet support class org.atmosphere.container.JettyAsyncSupportWithWebSocket has bad signature."
I'm using run jetty run and maven eclipse plugin.
my maven dependencies are correct as far as I know.
pom.xml
The text was updated successfully, but these errors were encountered: