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

Roger Kitain roger.kitain at oracle.com
Thu Apr 29 11:12:13 EDT 2010


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





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20100429/c23015f3/attachment-0001.html 


More information about the weld-dev mailing list