-
-
Notifications
You must be signed in to change notification settings - Fork 750
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
jquery-pubsub: Websocket transport fails #28
Comments
Tomcat doesn't support WebSocket, so that's expected to fail. Let me know if I missed something. Thanks! |
Jean-Francois, is there any list of supported containers then? I have got impression that Tomcat is supported from following statement: "Atmosphere is a POJO based framework using Inversion of Control (IoC) to bring Push/Comet and Websocket to the masses! Finally a framework which can run on any Java based Web Server, including Tomcat, Jetty, GlassFish, Weblogic, Grizzly, JBossWeb and JBoss, Resin, etc. without having to learn how Comet or WebSocket support has been differently implemented by all those Containers." |
Salut, I will write one. Currently all server are supported, but since only Jetty and GlassFish supports WebSocket, then under the hood Atmosphere is using streaming as a fallback. As soon as Tomcat supports WebSocket it will start working. But I agree I will clarify what i ssupported on that page. Thanks! |
Thanks for clarification, Jean-Francois! |
I also tried running the jquery-pubsub sample on firefox 11 today having jboss server already running. Firefox can't establish a connection to the server at ws://localhost:8080/atmosphere-jquery-pubsub/pubsub/test. http://localhost:8080/atmosphere-jquery-pubsub/jquery/jquery.atmosphere.js Line 410 Is there a solution to this now? If not then how are we supposed to run the jquery-pubsub sample having the support of websocket protocols? Waiting for reply. |
I am sorry a for not being clear with my question, I wanted to know how can we run the jquery-pubsub sample on jboss/tomcat with the support of websocket protocols? |
You need to use Tomcat 7.0.23. Please ask your question on the atmosphere-framework@googlegroups.com. I've just tested 0.9.5 and it works fine on both platform. JBoss Websocket support is not yet there as JBoss doesn't support Websocket. Thanks! |
Environment:
Atmosphere 0.8-SNAPSHOT
atmosphere-jquery-pubsub
Tomcat 7.0.14
Firefox 6.0.2 / Chrome 14.0.835.126 (Linux)
I have checked that AsynchronousProcessor#action(...) is invoked for websocket request.
Firebug console:
http://localhost:8080/atmosphere-jquery-pubsub/jquery/jquery.atmosphere.js
Line 410
Chrome console:
The text was updated successfully, but these errors were encountered: