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 2015/04/15 20:25:00 UTC
[jira] [Resolved] (OWB-1046) Starting transient conversation fails
with jetty
[ https://issues.apache.org/jira/browse/OWB-1046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Struberg resolved OWB-1046.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.5.0
Assignee: Mark Struberg
I've fixed the Exception.
The Conversation handling is still a big buggy. But I think this is not that important for now as most people don't use CDI conversations but CODI or DeltaSpike for it.
I think we should fix this by also cleaning up our session handling. I'll open another ticket for this
> 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
> Assignee: Mark Struberg
> Fix For: 1.5.0
>
> 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)