You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2009/02/14 11:45:59 UTC

[jira] Created: (OWB-78) exception when running OpenWebBeans + MyFaces apps in jetty

exception when running OpenWebBeans + MyFaces apps in jetty
-----------------------------------------------------------

                 Key: OWB-78
                 URL: https://issues.apache.org/jira/browse/OWB-78
             Project: OpenWebBeans
          Issue Type: Bug
          Components: Lifecycle
    Affects Versions: M1
            Reporter: Mark Struberg
            Assignee: Mark Struberg
             Fix For: M2


When starting the guess sample with

$>mvn -Pjetty clean install jetty:run

we get the following exception when navigating to the application at 
http://localhost:8080/guess

11:40:19,386  INFO WebBeansLifeCycle:103 - Initializing of the Request Context with Remote Address : 127.0.0.1
2009-02-14 11:40:19.390::WARN:  EXCEPTION 
java.lang.IllegalStateException: No SessionHandler or SessionManager
	at org.mortbay.jetty.Request.getSession(Request.java:1131)
	at org.mortbay.jetty.Request.getSession(Request.java:1121)
	at org.apache.webbeans.context.ContextFactory.initRequestContext(ContextFactory.java:85)
	at org.apache.webbeans.lifecycle.WebBeansLifeCycle.requestStarted(WebBeansLifeCycle.java:67)
	at org.apache.webbeans.servlet.WebBeansConfigurationListener.requestInitialized(WebBeansConfigurationListener.java:66)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:752)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:324)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OWB-78) exception when running OpenWebBeans + MyFaces apps in jetty

Posted by "Mark Struberg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OWB-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673519#action_12673519 ] 

Mark Struberg commented on OWB-78:
----------------------------------

I had a discussion with Greg Wilkins on the #jetty and he mentioned that this could be a bug in jetty.
Maybe this will be fixed for jetty 6.1.15.

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

> exception when running OpenWebBeans + MyFaces apps in jetty
> -----------------------------------------------------------
>
>                 Key: OWB-78
>                 URL: https://issues.apache.org/jira/browse/OWB-78
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Lifecycle
>    Affects Versions: M1
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: M2
>
>
> When starting the guess sample with
> $>mvn -Pjetty clean install jetty:run
> we get the following exception when navigating to the application at 
> http://localhost:8080/guess
> 11:40:19,386  INFO WebBeansLifeCycle:103 - Initializing of the Request Context with Remote Address : 127.0.0.1
> 2009-02-14 11:40:19.390::WARN:  EXCEPTION 
> java.lang.IllegalStateException: No SessionHandler or SessionManager
> 	at org.mortbay.jetty.Request.getSession(Request.java:1131)
> 	at org.mortbay.jetty.Request.getSession(Request.java:1121)
> 	at org.apache.webbeans.context.ContextFactory.initRequestContext(ContextFactory.java:85)
> 	at org.apache.webbeans.lifecycle.WebBeansLifeCycle.requestStarted(WebBeansLifeCycle.java:67)
> 	at org.apache.webbeans.servlet.WebBeansConfigurationListener.requestInitialized(WebBeansConfigurationListener.java:66)
> 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:752)
> 	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
> 	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> 	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> 	at org.mortbay.jetty.Server.handle(Server.java:324)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (OWB-78) exception when running OpenWebBeans + MyFaces apps in jetty

Posted by "Gurkan Erdogdu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OWB-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gurkan Erdogdu closed OWB-78.
-----------------------------

    Resolution: Fixed

> exception when running OpenWebBeans + MyFaces apps in jetty
> -----------------------------------------------------------
>
>                 Key: OWB-78
>                 URL: https://issues.apache.org/jira/browse/OWB-78
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Lifecycle
>    Affects Versions: M1
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: M2
>
>
> When starting the guess sample with
> $>mvn -Pjetty clean install jetty:run
> we get the following exception when navigating to the application at 
> http://localhost:8080/guess
> 11:40:19,386  INFO WebBeansLifeCycle:103 - Initializing of the Request Context with Remote Address : 127.0.0.1
> 2009-02-14 11:40:19.390::WARN:  EXCEPTION 
> java.lang.IllegalStateException: No SessionHandler or SessionManager
> 	at org.mortbay.jetty.Request.getSession(Request.java:1131)
> 	at org.mortbay.jetty.Request.getSession(Request.java:1121)
> 	at org.apache.webbeans.context.ContextFactory.initRequestContext(ContextFactory.java:85)
> 	at org.apache.webbeans.lifecycle.WebBeansLifeCycle.requestStarted(WebBeansLifeCycle.java:67)
> 	at org.apache.webbeans.servlet.WebBeansConfigurationListener.requestInitialized(WebBeansConfigurationListener.java:66)
> 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:752)
> 	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
> 	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> 	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> 	at org.mortbay.jetty.Server.handle(Server.java:324)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OWB-78) exception when running OpenWebBeans + MyFaces apps in jetty

Posted by "Mark Struberg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OWB-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674199#action_12674199 ] 

Mark Struberg commented on OWB-78:
----------------------------------

currently the guess sample has to use a manually built SNAPSHOT version of jetty-6.1 until jetty-6.1.15-rc4 or later is being released:

$> svn co http://svn.codehaus.org/jetty/jetty/branches/jetty-6.1
$> cd jetty-6.1 
$> mvn clean install


> exception when running OpenWebBeans + MyFaces apps in jetty
> -----------------------------------------------------------
>
>                 Key: OWB-78
>                 URL: https://issues.apache.org/jira/browse/OWB-78
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Lifecycle
>    Affects Versions: M1
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: M2
>
>
> When starting the guess sample with
> $>mvn -Pjetty clean install jetty:run
> we get the following exception when navigating to the application at 
> http://localhost:8080/guess
> 11:40:19,386  INFO WebBeansLifeCycle:103 - Initializing of the Request Context with Remote Address : 127.0.0.1
> 2009-02-14 11:40:19.390::WARN:  EXCEPTION 
> java.lang.IllegalStateException: No SessionHandler or SessionManager
> 	at org.mortbay.jetty.Request.getSession(Request.java:1131)
> 	at org.mortbay.jetty.Request.getSession(Request.java:1121)
> 	at org.apache.webbeans.context.ContextFactory.initRequestContext(ContextFactory.java:85)
> 	at org.apache.webbeans.lifecycle.WebBeansLifeCycle.requestStarted(WebBeansLifeCycle.java:67)
> 	at org.apache.webbeans.servlet.WebBeansConfigurationListener.requestInitialized(WebBeansConfigurationListener.java:66)
> 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:752)
> 	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
> 	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> 	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> 	at org.mortbay.jetty.Server.handle(Server.java:324)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.