1 Reply Latest reply on May 22, 2006 11:55 AM by Pranas Baliuka

    [Newbie] Seam Portal sample deployment on jboss-portal-2.4.0

    Pranas Baliuka Newbie

      Hi,

      Is explanation how to deploy jboss-seam-hibernate.war is correct?

      Dependences mentioned readme.txt are:
      --------------------------------
      a. For this, you will need to download the JBoss AS 4.0.4+ ZIP distribution
      b. Unpack it in some temporary location.
      c. From JBOSS_HOME/server/default/deploy, copy:
      jboss-bean.deployer, bsh-deployer.xml, mail-service.xml
      d. From JBOSS_HOME/server/default/lib, copy:
      bsh-1.3.jar, bsh-deployer.jar, mail.jar, activation.jar

      *** Copy these files to their corresponding destinations in the AS version
      you installed for Seam
      --------------------------------
      All artefacts are already in jboss-portal-2.4.0-ALPHA-bundled.

      Can some one explain what additionally must be hacked in order to start working with Hibernate/EJB3 + SEAM on jboss-portal-2.4?

      Thank you!


      --------------------------------------

      Errors:
      18:17:12,227 ERROR [[/seam-hibernate]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
      java.lang.NoClassDefFoundError: javax/ejb/Stateful
      at org.jboss.seam.Seam.getComponentType(Seam.java:58)
      ...
      18:17:12,938 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

      --- Incompletely deployed packages ---
      org.jboss.deployment.DeploymentInfo@27cbc68c { url=file:/D:/jboss-portal-2.4.0-ALPHA-bundled/server/default/deploy/jboss-seam-hibernate.war }
      deployer: MBeanProxyExt[jboss.web:service=WebServer]
      status: Deployment FAILED reason: URL file:/D:/jboss-portal-2.4.0-ALPHA-bundled/server/default/tmp/deploy/tmp8912jboss-seam-hibernate-exp.war/ deployment failed
      state: FAILED
      watch: file:/D:/jboss-portal-2.4.0-ALPHA-bundled/server/default/deploy/jboss-seam-hibernate.war
      altDD: null
      lastDeployed: 1148311031806
      lastModified: 1148311031756
      mbeans:

      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.web.deployment:war=jboss-seam-hibernate.war,id=667666060
      State: FAILED
      Reason: org.jboss.deployment.DeploymentException: URL file:/D:/jboss-portal-2.4.0-ALPHA-bundled/server/default/tmp/deploy/tmp8912jboss-seam-hibernate-exp.war/ deployment failed

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.web.deployment:war=jboss-seam-hibernate.war,id=667666060
      State: FAILED
      Reason: org.jboss.deployment.DeploymentException: URL file:/D:/jboss-portal-2.4.0-ALPHA-bundled/server/default/tmp/deploy/tmp8912jboss-seam-hibernate-exp.war/ deployment failed