6 Replies Latest reply on Mar 2, 2012 4:34 PM by Ken Finnigan

    Weld not activated for portlets?

    Nicklas Karlsson Master

      Hi,

       

        I'm using the latest JBoss AS 7.1.0.Final based GateIn and I'm having problems accessing CDI components (JSF + facelets using the JBoss 3.0.0.Beta1 bridge). When I deploy my portlet using the jboss-as:deploy mvn plugin I see the

       

       

      JBAS016002: Processing weld deployment portlet-palvelimet-1.0.0-SNAPSHOT.war

      JBAS016005: Starting Services for CDI deployment: portlet-palvelimet-1.0.0-SNAPSHOT.war

      JBAS016008: Starting weld service for deployment portlet-palvelimet-1.0.0-SNAPSHOT.war

      Init GenericFacesPortlet for portlet WebMarela-palvelimet

      Bridge class name is org.jboss.portletbridge.AjaxPortletBridge

      Init GenericFacesPortlet for portlet WebMarela-palvelimet

      Bridge class name is org.jboss.portletbridge.AjaxPortletBridge

      Initializing Mojarra 2.1.5 (SNAPSHOT 20111202) for context '/portlet-palvelimet-1.0.0-SNAPSHOT'

      JBAS018210: Registering web context: /portlet-palvelimet-1.0.0-SNAPSHOT

      JBAS018559: Deployed "portlet-palvelimet-1.0.0-SNAPSHOT.war"

       

       

      (but no WELD boot messages)

       

      and my JSF page displays hardcoded stuff but EL doesn't go to Weld (I can't access CDI beans from the view). I have the beans.xml in place.