No callbacks with grails and 7.2

classic Classic list List threaded Threaded
2 messages Options
sd
Reply | Threaded
Open this post in threaded view
|

No callbacks with grails and 7.2

sd
I just started with atmosphere and have been trying with both plugin and non-plugin versions with grails but have been unable to get any callback invoked.

I'm using long-poll transport and am able to see a response when using curl however when using the jquery plugin to suspend an event the call to write a response produces nothing.

This is with the latest firefox and chrome as well even with the examples.

An interesting thing is it says there is no nio connector configured but it is as you can see in the following.

http11.Http11NioProtocol Starting Coyote HTTP/1.1 on http-8080
ping.AtmospherePing AtmospherePing sent for project statistics: 200. Remove WEB-INF/lib/atmosphere-ping.jar to remove that message or exclude the jar in your pom.xml
ping.AtmospherePing AtmospherePing sent for project statistics: 200. Remove WEB-INF/lib/atmosphere-ping.jar to remove that message or exclude the jar in your pom.xml
[localhost].[/app] Initializing Spring FrameworkServlet 'gsp'
[localhost].[/app] GSP servlet initialized
cpr.AtmosphereServlet failed using comet support: org.atmosphere.container.TomcatCometSupport, error: Tomcat failed to detect this is a Comet application because context.xml is missing or the Http11NioProtocol Connector is not enabled.
If that's not the case, you can also remove META-INF/context.xml and WEB-INF/lib/atmosphere-compat-tomcat.jar
cpr.AtmosphereServlet Using BlockingIOCometSupport.
Reply | Threaded
Open this post in threaded view
|

Re: No callbacks with grails and 7.2

jfarcand
Administrator
This list is deprecated. Next time please use atmosphere-framework@googlegroups.com

Have you renamed the atmosphere-jquery-pubsub-7.2 to atmosphere-jquery-pubsub.war before deploying?
Have you set the NIO connector in server.xml? All sample works for me with FF and Chrome.

Thanks!

-- Jeanfrancois