Weld servlet integration 1.1.11.Final
configured with the WeldCrossContextFilter, on EAP 5.1.2 with gatein 3.2, everything went well, but when I actually submitted a form, I obtained the following error message :
java.lang.ClassCastException: org.gatein.pc.portlet.impl.jsr168.api.RenderRequestImpl cannot be cast to javax.servlet.http.HttpServletRequest
at org.jboss.weld.jsf.WeldPhaseListener.activateConversations(WeldPhaseListener.java:115)
at org.jboss.weld.jsf.WeldPhaseListener.beforePhase(WeldPhaseListener.java:85)
at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228)
After a first investigation I managed to fix this by modifying the WeldPhaseListener as attached^WeldPhaseListener.java to support the Portlet context as it was done in WeldApplication.beanManager() method.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira