IllegalStateException: No SessionHandler or SessionManager
I noticed the following when upgrading to Jetty7 (with last OWB M4 and trunk) SEVERE: Caught an Exception while starting a fresh session! java.lang.IllegalStateException: No SessionHandler or SessionManager at org.eclipse.jetty.server.Request.getSession(Request.java:1096) at org.eclipse.jetty.server.Request.getSession(Request.java:1086) at org.apache.webbeans.servlet.WebBeansConfigurationListener.requestInitialized(WebBeansConfigurationListener.java:115) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:919) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:245) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) at org.eclipse.jetty.server.Server.handle(Server.java:334) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:992) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:541) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:203) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436) at java.lang.Thread.run(Thread.java:619) -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf
Re: IllegalStateException: No SessionHandler or SessionManager
Hi, I run jetty 7 (the maven plugin) without problems, with this configuration (using JSP 2.2 and no OWB) plugin groupIdorg.mortbay.jetty/groupId artifactIdjetty-maven-plugin/artifactId version7.0.1.v20091125/version configuration scanIntervalSeconds10/scanIntervalSeconds /configuration dependencies dependency groupIdjavax.servlet.jsp/groupId artifactIdjsp-api/artifactId version2.2/version scopeprovided/scope /dependency dependency groupIdjavax.el/groupId artifactIdel-api/artifactId version2.2.1-b01/version scopeprovided/scope /dependency dependency groupIdorg.glassfish.web/groupId artifactIdel-impl/artifactId version2.2.1-b01/version scopeprovided/scope /dependency dependency groupIdorg.mortbay.jetty/groupId artifactIdjsp-2.1-glassfish/artifactId version9.1.1.B60.25.p2/version scopeprovided/scope exclusions exclusion groupIdorg.mortbay.jetty/groupId artifactIdjsp-api-2.1/artifactId /exclusion exclusion groupIdorg.mortbay.jetty/groupId artifactIdstart/artifactId /exclusion exclusion groupIdorg.mortbay.jetty/groupId artifactIdjetty-annotations/artifactId /exclusion /exclusions /dependency /dependencies /plugin Cheers, Bruno On 22 March 2010 00:38, Matthias Wessendorf mat...@apache.org wrote: I noticed the following when upgrading to Jetty7 (with last OWB M4 and trunk) SEVERE: Caught an Exception while starting a fresh session! java.lang.IllegalStateException: No SessionHandler or SessionManager at org.eclipse.jetty.server.Request.getSession(Request.java:1096) at org.eclipse.jetty.server.Request.getSession(Request.java:1086) at org.apache.webbeans.servlet.WebBeansConfigurationListener.requestInitialized(WebBeansConfigurationListener.java:115) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:919) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:245) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) at org.eclipse.jetty.server.Server.handle(Server.java:334) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:992) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:541) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:203) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436) at java.lang.Thread.run(Thread.java:619) -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf
Re: IllegalStateException: No SessionHandler or SessionManager
crap, wrong list :-) Thanks for your mail... :) On Sun, Mar 21, 2010 at 6:14 PM, Bruno Aranda brunoara...@gmail.com wrote: Hi, I run jetty 7 (the maven plugin) without problems, with this configuration (using JSP 2.2 and no OWB) plugin groupIdorg.mortbay.jetty/groupId artifactIdjetty-maven-plugin/artifactId version7.0.1.v20091125/version configuration scanIntervalSeconds10/scanIntervalSeconds /configuration dependencies dependency groupIdjavax.servlet.jsp/groupId artifactIdjsp-api/artifactId version2.2/version scopeprovided/scope /dependency dependency groupIdjavax.el/groupId artifactIdel-api/artifactId version2.2.1-b01/version scopeprovided/scope /dependency dependency groupIdorg.glassfish.web/groupId artifactIdel-impl/artifactId version2.2.1-b01/version scopeprovided/scope /dependency dependency groupIdorg.mortbay.jetty/groupId artifactIdjsp-2.1-glassfish/artifactId version9.1.1.B60.25.p2/version scopeprovided/scope exclusions exclusion groupIdorg.mortbay.jetty/groupId artifactIdjsp-api-2.1/artifactId /exclusion exclusion groupIdorg.mortbay.jetty/groupId artifactIdstart/artifactId /exclusion exclusion groupIdorg.mortbay.jetty/groupId artifactIdjetty-annotations/artifactId /exclusion /exclusions /dependency /dependencies /plugin Cheers, Bruno On 22 March 2010 00:38, Matthias Wessendorf mat...@apache.org wrote: I noticed the following when upgrading to Jetty7 (with last OWB M4 and trunk) SEVERE: Caught an Exception while starting a fresh session! java.lang.IllegalStateException: No SessionHandler or SessionManager at org.eclipse.jetty.server.Request.getSession(Request.java:1096) at org.eclipse.jetty.server.Request.getSession(Request.java:1086) at org.apache.webbeans.servlet.WebBeansConfigurationListener.requestInitialized(WebBeansConfigurationListener.java:115) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:919) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:245) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) at org.eclipse.jetty.server.Server.handle(Server.java:334) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:992) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:541) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:203) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436) at java.lang.Thread.run(Thread.java:619) -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf