Skip to content
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

is it possible to hide this exception on Jetty shutdown. #44

Closed
survivant opened this issue Oct 24, 2011 · 1 comment
Closed

is it possible to hide this exception on Jetty shutdown. #44

survivant opened this issue Oct 24, 2011 · 1 comment

Comments

@survivant
Copy link
Member

The atmosphere application throw a exception on resume when Jetty shutdown using websocket.

09:25:53.405 [Thread-1] DEBUG o.a.cpr.AsynchronousProcessor - failed on resume: AtmosphereResourceImpl{, action=org.atmosphere.cpr.AtmosphereServlet$Action@17e5307, broadcaster=org.atmosphere.cpr.DefaultBroadcaster, cometSupport=org.atmosphere.container.Servlet30CometSupportWithWebSocket@7cf883, serializer=null, isInScope=true, useWriter=true, listeners=[]}
java.lang.IllegalStateException: No SessionManager
at org.eclipse.jetty.server.Request.getSession(Request.java:1151) ~[na:na]
at org.eclipse.jetty.server.Request.getSession(Request.java:1130) ~[na:na]
at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:267) ~[servlet-api-3.0.jar:na]
at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:267) ~[servlet-api-3.0.jar:na]
at org.atmosphere.container.Servlet30CometSupport.action(Servlet30CometSupport.java:160) ~[atmosphere-runtime-0.8.0-RC2-SNAPSHOT.jar:0.8.0-RC2-SNAPSHOT]
at org.atmosphere.container.Servlet30CometSupport.action(Servlet30CometSupport.java:63) ~[atmosphere-runtime-0.8.0-RC2-SNAPSHOT.jar:0.8.0-RC2-SNAPSHOT]
at org.atmosphere.cpr.AtmosphereResourceImpl.resume(AtmosphereResourceImpl.java:184) ~[atmosphere-runtime-0.8.0-RC2-SNAPSHOT.jar:0.8.0-RC2-SNAPSHOT]
at org.atmosphere.cpr.AsynchronousProcessor.shutdown(AsynchronousProcessor.java:471) ~[atmosphere-runtime-0.8.0-RC2-SNAPSHOT.jar:0.8.0-RC2-SNAPSHOT]
at org.atmosphere.cpr.AtmosphereServlet.destroy(AtmosphereServlet.java:834) [atmosphere-runtime-0.8.0-RC2-SNAPSHOT.jar:0.8.0-RC2-SNAPSHOT]

@jfarcand
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants