1 Reply Latest reply on Oct 27, 2010 1:38 PM by david vieira

    [SOLVED] PortletBridge Seam archetype and GateIn 3.0.1.Final - NullPointerException

    david vieira Newbie
      -Imported Maven Projects in Eclipse
      -Commented
        <!--
        <context-param>
          <param-name>javax.faces.LIFECYCLE_ID</param-name>
          <param-value>SEAM_PORTLET</param-value>
        </context-param>-->
      in seam-project/web/src/main/webapp/WEB-INF/web.xml
      -Selected seam-project, right-click -> Run as > Maven package.
      -Selected seam-project/ear/target/seam-project-ear-1.0-SNAPSHOT.ear; right-click > Make Deployable -> GateIn 3.0.1 Runtime (JBossAS 5.1)
      The localhost:8080/portal runs OK, but I can't deploy the Seam portlet.
      The stacktrace:

      I'm using Portlet Bridge 2.1.0.CR1, GateIn 3.0.1.FINAL, and I did the following steps:

       

      1. I selected seam-project -> mvn archetype:generate -DarchetypeCatalog=http://bit.ly/chPvUw
      2. Imported Maven Projects in Eclipse
      3. Commented in seam-project/web/src/main/webapp/WEB-INF/web.xml
        1.   <!--

            <context-param>

              <param-name>javax.faces.LIFECYCLE_ID</param-name>

              <param-value>SEAM_PORTLET</param-value>

            </context-param>-->

      4. Selected seam-project, right-click -> Run as > Maven package.
      5. Selected seam-project/ear/target/seam-project-ear-1.0-SNAPSHOT.ear; right-click > Make Deployable -> GateIn 3.0.1 Runtime (JBossAS 5.1)

       

      The localhost:8080/portal runs OK, but I can't deploy the Seam portlet.

       

      I'm trying to make this work all the week, and no progress so far.

       

      Please help me !

       

      Thanks !