[
https://issues.apache.org/jira/browse/OWB-1046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14492120#comment-14492120
]
Romain Manni-Bucau commented on OWB-1046:
-----------------------------------------
If it can help, in TomEE we expect a request:
org.apache.openejb.cdi.CdiAppContextsService#initConversationContext which is
what makes sense IMO since the conversation context should be retrieved from
the request or created for transient conversations.
> Starting transient conversation fails with jetty
> ------------------------------------------------
>
> Key: OWB-1046
> URL: https://issues.apache.org/jira/browse/OWB-1046
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Context and Scopes, JSF, Web
> Affects Versions: 1.5.0
> Environment: maven, myfaces, owb, jetty-maven-plugin
> Reporter: Thomas Andraschko
> Attachments: owb-jetty-jsf-test.zip
>
>
> Just open a random page and the following will occur:
> SCHWERWIEGEND: org.eclipse.jetty.server.Request cannot be cast to
> org.apache.webbeans.context.ConversationContext
> java.lang.ClassCastException: org.eclipse.jetty.server.Request cannot be cast
> to org.apache.webbeans.context.ConversationContext
> at
> org.apache.webbeans.web.context.WebContextsService.startContext(WebContextsService.java:305)
> at
> org.apache.webbeans.context.ContextFactory.initConversationContext(ContextFactory.java:170)
> at
> org.apache.webbeans.jsf.WebBeansPhaseListener.beforePhase(WebBeansPhaseListener.java:122)
> at
> org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:77)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)