1 Reply Latest reply on Oct 29, 2008 9:23 AM by ips

    Embedded Jopr + JBoss AS 4.0.3SP1

    massoo

      Hi,

      Is it possible to use Embedded Jopr with JBoss AS 4.0.3SP1 ?

      When I try to use the Embedded Jopr with JBoss AS 4.0.3SP1, I get the following error :

      08:24:53,473 INFO [TomcatDeployer] deploy, ctxPath=/embedded-jopr, warUrl=.../tmp/deploy/tmp16490embedded-jopr.war/
      08:24:53,844 ERROR [[/embedded-jopr]] Error configuring application listener of class com.sun.faces.config.ConfigureListener
      java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1332)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)
      ......
      .....
      08:24:53,848 ERROR [[/embedded-jopr]] Skipped installing application listeners due to previous error(s)
      08:24:53,849 ERROR [StandardContext] Error listenerStart
      08:24:53,849 ERROR [StandardContext] Context [/embedded-jopr] startup failed due to previous errors
      08:24:53,858 WARN [ServiceController] Problem starting service jboss.web.deployment:war=embedded-jopr.war,id=-621124452
      org.jboss.deployment.DeploymentException: URL file:/opt/seakey/SEAKEY_DM/jboss-4.0.3/server/default/tmp/deploy/tmp16490embedded-jopr.war/ deployment failed
      at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:349)
      ......
      ......
      08:24:53,862 ERROR [MainDeployer] Could not start deployment: file:/opt/seakey/SEAKEY_DM/jboss-4.0.3/server/default/deploy/embedded-jopr.war
      org.jboss.deployment.DeploymentException: URL file:/opt/seakey/SEAKEY_DM/jboss-4.0.3/server/default/tmp/deploy/tmp16490embedded-jopr.war/ deployment failed
      .....
      .....
      --- Incompletely deployed packages ---
      org.jboss.deployment.DeploymentInfo@dafa649c { url=file:/opt/seakey/SEAKEY_DM/jboss-4.0.3/server/default/deploy/embedded-jopr.war }
      deployer: MBeanProxyExt[jboss.web:service=WebServer]
      status: Deployment FAILED reason: URL file:/opt/seakey/SEAKEY_DM/jboss-4.0.3/server/default/tmp/deploy/tmp16490embedded-jopr.war/ deployment failed
      state: FAILED
      watch: file:/opt/seakey/SEAKEY_DM/jboss-4.0.3/server/default/deploy/embedded-jopr.war
      altDD: null
      lastDeployed: 1225268693467
      lastModified: 1225268693000
      mbeans:

      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.web.deployment:war=embedded-jopr.war,id=-621124452
      State: FAILED
      Reason: org.jboss.deployment.DeploymentException: URL file:/opt/seakey/SEAKEY_DM/jboss-4.0.3/server/default/tmp/deploy/tmp16490embedded-jopr.war/ deployment failed

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.web.deployment:war=embedded-jopr.war,id=-621124452
      State: FAILED
      Reason: org.jboss.deployment.DeploymentException: URL file:/opt/seakey/SEAKEY_DM/jboss-4.0.3/server/default/tmp/deploy/tmp16490embedded-jopr.war/ deployment failed

      08:24:55,282 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
      08:24:55,663 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009


      How to resolve this ?


        • 1. Re: Embedded Jopr + JBoss AS 4.0.3SP1
          ips

          Embedded Jopr is currently only supported on JBAS 4.2.x (the FAQ states this [1]), and current development efforts are focused on AS 5.0. That said, you could probably get it running on AS 4.0.x with a bit of work. Since AS 4.0.x does not bundle JSF 1.2, one of the changes required would be to deploy the JSF 1.2 RI jars either in ejopr's WEB-INF/lib/ or at the app server level. [2] describes the steps requires to replace MyFaces 1.1 with JSF RI 1.2 in an AS 4.0.x install. If you do managed to get it running on AS 4.0.x, please reply back with the steps that were required, as I'm sure other people would find the information useful.

          [1] http://www.jboss.org/community/docs/DOC-12808
          [2] http://www.jboss.org/community/docs/DOC-12161

          Cheers,
          Ian