[weld-dev] Fwd: Weld doesn not support using JSF in an non-servlet environment

Pete Muir pmuir at redhat.com
Thu Apr 29 12:50:50 EDT 2010


Can you or Neil file an issue for us in WELD?

On 29 Apr 2010, at 16:12, Roger Kitain wrote:

> Forwarding to weld dev list.
> 
> -------- Original Message --------
> Subject:	Weld doesn not support using JSF in an non-servlet environment
> Date:	Thu, 29 Apr 2010 11:03:15 -0400
> From:	Neil Griffin <neil.griffin at portletfaces.org>
> To:	roger.kitain at oracle.com
> 
> Hi Roger,
> 
> I have some guys trying to use my PortletFaces Bridge for JSF 2.0 + Portlet 2.0 in Glassfish V3, but Weld is causing an issue.
> 
> >From this link:
> 
> http://www.portletfaces.org/community/forums/-/message_boards/message/43041#_19_message_43038
> 
> 
> Here is a simple stacktrace:
> Caused by: java.lang.IllegalStateException: Weld doesn not support using JSF in an non-servlet environment
> at org.jboss.weld.jsf.JsfHelper.getModuleBeanManager(JsfHelper.java:119)
> at org.jboss.weld.jsf.WeldPhaseListener.initiateSessionAndConversation(WeldPhaseListener
> 
> I realize that Portlet 2.0 is not part of "Java EE 6" but I would think Oracle (GlassFish & CDI) and JBoss (Weld) would want to support Portlet 2.0? Do you know if this is just a temporary thing in Weld? Maybe I should ask Dan Allen about it?
> 
> Thank you for your time. Hope all is well with you,
> 
> Neil
> 
> 
> 
> 
> 
> _______________________________________________
> weld-dev mailing list
> weld-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/weld-dev




More information about the weld-dev mailing list