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@portletfaces.org>
To: roger.kitain@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