4 Replies Latest reply on Jan 29, 2013 8:36 AM by Salman Maqsood

    Jboss as 7 - Failed to process phase POST_MODULE

    Salman Maqsood Newbie

      hi all,

      i am trying to update from jboss 5 GA to jboss 7. the same context that works in jboss 5, i am placing it in jboss 7 deployment directory.

      say the context name is xyz.war, following error is produced :

       

      =========================================================================

       

       

        JBoss Bootstrap Environment

       

       

        JBOSS_HOME: /u/bin/jboss-as-7.1.0.Final

       

       

        JAVA: /usr/jdk/jdk1.6.0_23//bin/java

       

       

        JAVA_OPTS:  -server -XX:+TieredCompilation -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml

       

       

      =========================================================================

       

       

      12:48:19,575 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA

      12:48:20,054 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA

      12:48:20,172 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.0.Final "Thunder" starting

      12:48:22,631 INFO  [org.xnio] XNIO Version 3.0.3.GA

      12:48:22,639 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)

      12:48:22,669 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA

      12:48:22,756 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.2.GA

      12:48:22,791 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers

      12:48:22,816 INFO  [org.jboss.as.configadmin] (ServerService Thread Pool -- 26) JBAS016200: Activating ConfigAdmin Subsystem

      12:48:22,861 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem

      12:48:22,897 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension

      12:48:22,912 INFO  [org.jboss.as.security] (MSC service thread 1-1) JBAS013100: Current PicketBox version=4.0.6.final

      12:48:22,921 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem

      12:48:22,973 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.

      12:48:23,102 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem

      12:48:23,176 INFO  [org.jboss.as.connector] (MSC service thread 1-1) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.7.Final)

      12:48:23,258 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1) Starting Coyote HTTP/1.1 on http--127.0.0.1-8085

      12:48:23,434 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

      12:48:23,458 INFO  [org.jboss.as.naming] (MSC service thread 1-1) JBAS011802: Starting Naming Service

      12:48:23,555 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-1) JBAS015400: Bound mail session [java:jboss/mail/Default]

      12:48:23,903 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-3) JBoss Web Services - Stack CXF Server 4.0.1.GA

      12:48:24,838 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]

      12:48:25,097 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-1) JBAS015012: Started FileSystemDeploymentService for directory /u/bin/jboss-as-7.1.0.Final/standalone/deployments

      12:48:25,105 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found mccart.war in deployment directory. To trigger deployment create a file called mccart.war.dodeploy

      12:48:25,116 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found xyz.war in deployment directory. To trigger deployment create a file called xyz.war.dodeploy

      12:48:25,149 INFO  [org.jboss.as.remoting] (MSC service thread 1-4) JBAS017100: Listening on /127.0.0.1:9999

      12:48:25,149 INFO  [org.jboss.as.remoting] (MSC service thread 1-3) JBAS017100: Listening on /127.0.0.1:4449

      12:48:25,310 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.0.Final "Thunder" started in 6550ms - Started 134 of 205 services (70 services are passive or on-demand)

      12:59:06,601 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "xyz.war"

       

       

      12:59:29,552 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."xyz.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."xyz.war".POST_MODULE: Failed to process phase POST_MODULE of deployment "xyz.war"

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_23]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_23]

              at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_23]

      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011093: Could not load component class com.abc.component.framework.ui.LastRecordNumber

              at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:113)

              at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:54)

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]

              ... 5 more

      Caused by: java.lang.ClassNotFoundException: com.abc.component.framework.ui.LastRecordNumber from [Module "deployment.xyz.war:main" from Service Module Loader]

              at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

              at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

              at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

              at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:111)

              ... 7 more

       

       

      12:59:29,607 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "xyz.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"xyz.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"xyz.war\".POST_MODULE: Failed to process phase POST_MODULE of deployment \"xyz.war\""}}

      12:59:29,721 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment xyz.war in 111ms

      12:59:29,725 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report

      JBAS014777:   Services which failed to start:      service jboss.deployment.unit."xyz.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."xyz.war".POST_MODULE: Failed to process phase POST_MODULE of deployment "xyz.war"

       

       

      12:59:29,734 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"xyz.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"xyz.war\".POST_MODULE: Failed to process phase POST_MODULE of deployment \"xyz.war\""}}}}

      loyment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]

              ... 5 more

      Caused by: java.lang.ClassNotFoundException: com.abc.component.framework.ui.LastRecordNumber from [Module "deployment.xyz.war:main" from Service Module Loader]

      Caused by: java.lang.ClassNotFoundException: com.abc.component.framework.ui.LastRecordNumber from [Module "deployment.xyz.war:main" from Service Module Loader]

              at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

              at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

              at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

              at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:111)

              ... 7 more

       

       

      12:59:29,607 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "xyz.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"xyz.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"xyz.war\".POST_MODULE: Failed to process phase POST_MODULE of deployment \"xyz.war\""}}

      12:59:29,721 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment xyz.war in 111ms

      12:59:29,725 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report

      JBAS014777:   Services which failed to start:      service jboss.deployment.unit."xyz.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."xyz.war".POST_MODULE: Failed to process phase POST_MODULE of deployment "xyz.war"

       

       

      12:59:29,734 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"xyz.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"xyz.war\".POST_MODULE: Failed to process phase POST_MODULE of deployment \"xyz.war\""}}}}