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

Neil Griffin neil.griffin at portletfaces.org
Thu Apr 29 13:09:22 EDT 2010


Done, thanks!
https://jira.jboss.org/jira/browse/WELD-510

Neil Griffin




On Apr 29, 2010, at 12:53 PM, Pete Muir wrote:

> i.e. we definitely want to support this, but initially the focus was tightly on EE6, and this slipped through.
> 
> If we can get a simple sample app that has portlets + cdi in it, then it make it easier to fix :-)
> 
> On 29 Apr 2010, at 17:50, Pete Muir wrote:
> 
>> 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
>> 
>> 
>> _______________________________________________
>> 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