You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Matthias Wessendorf <ma...@apache.org> on 2010/03/22 01:38:07 UTC
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
Posted by Matthias Wessendorf <ma...@apache.org>.
crap, wrong list :-)
Thanks for your mail... :)
On Sun, Mar 21, 2010 at 6:14 PM, Bruno Aranda <br...@gmail.com> wrote:
> Hi, I run jetty 7 (the maven plugin) without problems, with this
> configuration (using JSP 2.2 and no OWB)
> <plugin>
> <groupId>org.mortbay.jetty</groupId>
> <artifactId>jetty-maven-plugin</artifactId>
> <version>7.0.1.v20091125</version>
> <configuration>
> <scanIntervalSeconds>10</scanIntervalSeconds>
> </configuration>
> <dependencies>
> <dependency>
> <groupId>javax.servlet.jsp</groupId>
> <artifactId>jsp-api</artifactId>
> <version>2.2</version>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>javax.el</groupId>
> <artifactId>el-api</artifactId>
> <version>2.2.1-b01</version>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>org.glassfish.web</groupId>
> <artifactId>el-impl</artifactId>
> <version>2.2.1-b01</version>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>org.mortbay.jetty</groupId>
> <artifactId>jsp-2.1-glassfish</artifactId>
> <version>9.1.1.B60.25.p2</version>
> <scope>provided</scope>
> <exclusions>
> <exclusion>
> <groupId>org.mortbay.jetty</groupId>
> <artifactId>jsp-api-2.1</artifactId>
> </exclusion>
> <exclusion>
> <groupId>org.mortbay.jetty</groupId>
> <artifactId>start</artifactId>
> </exclusion>
> <exclusion>
> <groupId>org.mortbay.jetty</groupId>
> <artifactId>jetty-annotations</artifactId>
> </exclusion>
> </exclusions>
> </dependency>
> </dependencies>
> </plugin>
> Cheers,
> Bruno
>
> On 22 March 2010 00:38, Matthias Wessendorf <ma...@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
Re: IllegalStateException: No SessionHandler or SessionManager
Posted by Bruno Aranda <br...@gmail.com>.
Hi, I run jetty 7 (the maven plugin) without problems, with this
configuration (using JSP 2.2 and no OWB)
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>7.0.1.v20091125</version>
<configuration>
<scanIntervalSeconds>10</scanIntervalSeconds>
</configuration>
<dependencies>
<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>2.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.el</groupId>
<artifactId>el-api</artifactId>
<version>2.2.1-b01</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.glassfish.web</groupId>
<artifactId>el-impl</artifactId>
<version>2.2.1-b01</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jsp-2.1-glassfish</artifactId>
<version>9.1.1.B60.25.p2</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jsp-api-2.1</artifactId>
</exclusion>
<exclusion>
<groupId>org.mortbay.jetty</groupId>
<artifactId>start</artifactId>
</exclusion>
<exclusion>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-annotations</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</plugin>
Cheers,
Bruno
On 22 March 2010 00:38, Matthias Wessendorf <ma...@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
>