myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Wessendorf <mat...@apache.org>
Subject Re: MyFaces 2 and OWB and jetty
Date Wed, 30 Dec 2009 11:44:41 GMT
FWIW:
using  Jetty 6.1.18 makes that sucker go away :-)

http://jira.codehaus.org/browse/JETTY-910

-Matthias

On Wed, Dec 30, 2009 at 12:33 PM, Matthias Wessendorf <matzew@apache.org> wrote:
> wrong list :-)
>
> On Wed, Dec 30, 2009 at 12:33 PM, Matthias Wessendorf <matzew@apache.org> wrote:
>> Hi,
>>
>> I have a simple @Model annotated bean and when I access my URL:
>> http://localhost:9090/faces/helloWorld.xhtml
>>
>> I get the attached error - However, the page renders the content of
>> <h:outputText value="#{bean.foo}" />.
>>
>> -Matthias
>>
>> [INFO] Starting scanner at interval of 10 seconds.
>> 12:28:58,545 ERROR EnterpriseLifeCycle:100 - Got an Exception while
>> starting a fresh session!
>> java.lang.IllegalStateException: No SessionHandler or SessionManager
>>        at org.mortbay.jetty.Request.getSession(Request.java:1022)
>>        at org.mortbay.jetty.Request.getSession(Request.java:1012)
>>        at org.apache.webbeans.lifecycle.EnterpriseLifeCycle.requestStarted(EnterpriseLifeCycle.java:127)
>>        at org.apache.webbeans.servlet.WebBeansConfigurationListener.requestInitialized(WebBeansConfigurationListener.java:76)
>>        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
>>        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>>        at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
>>        at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>>        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
>>        at org.mortbay.jetty.Server.handle(Server.java:324)
>>        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
>>        at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
>>        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
>>        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
>>        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
>>        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
>>        at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
>> 12:28:58,604  INFO WebBeansPhaseListener:143 - Creating a new
>> transitional conversation for view: [null]
>> Dec 30, 2009 12:28:58 PM
>> org.apache.myfaces.application.ApplicationImpl getProjectStage
>> INFO: Couldn't discover the current project stage, using Production
>> 2009-12-30 12:28:58.990:/:INFO:  No state saving method defined,
>> assuming default server state saving
>> 12:28:59,179  INFO WebBeansPhaseListener:143 - Destroying the
>> conversation context with cid: [null] for view: [/helloWorld.xhtml]
>> 12:28:59,244 ERROR EnterpriseLifeCycle:100 - Got an Exception while
>> starting a fresh session!
>> java.lang.IllegalStateException: No SessionHandler or SessionManager
>>        at org.mortbay.jetty.Request.getSession(Request.java:1022)
>>        at org.mortbay.jetty.Request.getSession(Request.java:1012)
>>        at org.apache.webbeans.lifecycle.EnterpriseLifeCycle.requestStarted(EnterpriseLifeCycle.java:127)
>>        at org.apache.webbeans.servlet.WebBeansConfigurationListener.requestInitialized(WebBeansConfigurationListener.java:76)
>>        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
>>        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>>        at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
>>        at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>>        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
>>        at org.mortbay.jetty.Server.handle(Server.java:324)
>>        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
>>        at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
>>        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
>>        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
>>        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
>>        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
>>        at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
>> 12:29:02,226 ERROR EnterpriseLifeCycle:100 - Got an Exception while
>> starting a fresh session!
>> java.lang.IllegalStateException: No SessionHandler or SessionManager
>>        at org.mortbay.jetty.Request.getSession(Request.java:1022)
>>        at org.mortbay.jetty.Request.getSession(Request.java:1012)
>>        at org.apache.webbeans.lifecycle.EnterpriseLifeCycle.requestStarted(EnterpriseLifeCycle.java:127)
>>        at org.apache.webbeans.servlet.WebBeansConfigurationListener.requestInitialized(WebBeansConfigurationListener.java:76)
>>        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
>>        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>>        at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
>>        at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>>        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
>>        at org.mortbay.jetty.Server.handle(Server.java:324)
>>        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
>>        at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
>>        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
>>        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
>>        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
>>        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
>>        at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
>>
>>
>> --
>> 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
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Mime
View raw message