<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Forwarding to weld dev list.<br>
<br>
-------- Original Message --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
 cellspacing="0">
  <tbody>
    <tr>
      <th align="RIGHT" valign="BASELINE" nowrap="nowrap">Subject: </th>
      <td>Weld doesn not support using JSF in an non-servlet environment</td>
    </tr>
    <tr>
      <th align="RIGHT" valign="BASELINE" nowrap="nowrap">Date: </th>
      <td>Thu, 29 Apr 2010 11:03:15 -0400</td>
    </tr>
    <tr>
      <th align="RIGHT" valign="BASELINE" nowrap="nowrap">From: </th>
      <td>Neil Griffin <a class="moz-txt-link-rfc2396E" href="mailto:neil.griffin@portletfaces.org">&lt;neil.griffin@portletfaces.org&gt;</a></td>
    </tr>
    <tr>
      <th align="RIGHT" valign="BASELINE" nowrap="nowrap">To: </th>
      <td><a class="moz-txt-link-abbreviated" href="mailto:roger.kitain@oracle.com">roger.kitain@oracle.com</a></td>
    </tr>
  </tbody>
</table>
<br>
<br>
<pre>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:
<a class="moz-txt-link-freetext" href="http://www.portletfaces.org/community/forums/-/message_boards/message/43041#_19_message_43038">http://www.portletfaces.org/community/forums/-/message_boards/message/43041#_19_message_43038</a>

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 &amp; 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




</pre>
</body>
</html>