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

IllegalStateException: No SessionManager even when PROPERTY_SESSION_SUPPORT set to false #367

Closed
maxcom opened this issue May 18, 2012 · 2 comments

Comments

@maxcom
Copy link

maxcom commented May 18, 2012

I run Atmosphere 0.9.4 on embedded Jetty 8.1.2.v20120308 with disabled sessions support. I set PROPERTY_SESSION_SUPPORT to false, but Atmosphere fails with following exception:

18.05.2012 16:04:45 org.atmosphere.cpr.AtmosphereFramework doCometSupport
SEVERE: AtmosphereFramework exception
java.lang.IllegalStateException: No SessionManager
    at org.eclipse.jetty.server.Request.getSession(Request.java:1173)
    at org.eclipse.jetty.server.Request.getSession(Request.java:1152)
    at org.atmosphere.cpr.AtmosphereRequest.getSession(AtmosphereRequest.java:579)
    at org.atmosphere.cpr.AtmosphereRequest.getSession(AtmosphereRequest.java:592)
    at org.atmosphere.cpr.AtmosphereRequest.loadInMemory(AtmosphereRequest.java:1461)
    at org.atmosphere.container.JettyWebSocketUtil$1.doWebSocketConnect(JettyWebSocketUtil.java:79)
    at org.eclipse.jetty.websocket.WebSocketFactory.acceptWebSocket(WebSocketFactory.java:351)
    at org.atmosphere.container.JettyWebSocketUtil.doService(JettyWebSocketUtil.java:52)
    at org.atmosphere.container.JettyAsyncSupportWithWebSocket.service(JettyAsyncSupportWithWebSocket.java:66)
    at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:1122)
    at org.atmosphere.cpr.AtmosphereServlet.doPost(AtmosphereServlet.java:293)
    at org.atmosphere.cpr.AtmosphereServlet.doGet(AtmosphereServlet.java:279)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:594)
@jfarcand
Copy link
Member

Looking

jfarcand added a commit that referenced this issue May 18, 2012
@jfarcand
Copy link
Member

Thanks!

jfarcand added a commit that referenced this issue May 29, 2012
jfarcand added a commit that referenced this issue May 30, 2012
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