3 Replies Latest reply on Mar 12, 2012 5:09 AM by jaikiran

    Migrating to JBoss 7.1.1 (Failed to start service jboss.deployment.subunit...)

    jehanzeb.qayyum

      Hi,

       

      I am trying to migrate to JBoss 7.1.1 but getting below error on deployment of my application:

       

      5:32:33,344 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015893: Encountered invalid class name 'com.sun.faces.vendor.Tomcat6InjectionProvider:org.apache.catalina.util.DefaultAnnotationProcessor' for service type 'com.sun.faces.spi.injectionprovider'

      15:32:33,345 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015893: Encountered invalid class name 'com.sun.faces.vendor.Jetty6InjectionProvider:org.mortbay.jetty.plus.annotation.InjectionCollection' for service type 'com.sun.faces.spi.injectionprovider'

      15:32:33,416 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.subunit."OnlineAccounts.ear"."OnlineAccountsWeb.war".CONFIGURE_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."OnlineAccounts.ear"."OnlineAccountsWeb.war".CONFIGURE_MODULE: Failed to process phase CONFIGURE_MODULE of subdeployment "OnlineAccountsWeb.war" of deployment "OnlineAccounts.ear"

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.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.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_02]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_02]

              at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_02]

      Caused by: java.lang.NullPointerException

              at org.jboss.vfs.VFSUtils.getRootURL(VFSUtils.java:571)

              at org.jboss.as.server.deployment.module.VFSResourceLoader.<init>(VFSResourceLoader.java:86) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

              at org.jboss.as.server.deployment.module.ModuleSpecProcessor.addResourceRoot(ModuleSpecProcessor.java:253) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

              at org.jboss.as.server.deployment.module.ModuleSpecProcessor.createModuleService(ModuleSpecProcessor.java:165) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

              at org.jboss.as.server.deployment.module.ModuleSpecProcessor.deploy(ModuleSpecProcessor.java:105) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

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

              ... 5 more

       

      15:32:33,514 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-2) JBAS018567: Deployment "deployment.OnlineAccounts.ear.OnlineAccountsServices.jar" is using a private module ("org.w3c.css.sac:main") which may be changed or removed in future versions without notice.

      15:32:33,516 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-7) JBAS018567: Deployment "deployment.OnlineAccounts.ear" is using a private module ("org.w3c.css.sac:main") which may be changed or removed in future versions without notice.

      15:32:33,518 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-7) JBAS018567: Deployment "deployment.OnlineAccounts.ear" is using a private module ("net.sourceforge.cssparser:main") which may be changed or removed in future versions without notice.

      15:32:33,517 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-2) JBAS018567: Deployment "deployment.OnlineAccounts.ear.OnlineAccountsServices.jar" is using a private module ("net.sourceforge.cssparser:main") which may be changed or removed in future versions without notice.

      15:32:33,720 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "OnlineAccounts.ear" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.subunit.\"OnlineAccounts.ear\".\"OnlineAccountsWeb.war\".CONFIGURE_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"OnlineAccounts.ear\".\"OnlineAccountsWeb.war\".CONFIGURE_MODULE: Failed to process phase CONFIGURE_MODULE of subdeployment \"OnlineAccountsWeb.war\" of deployment \"OnlineAccounts.ear\""},"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"OnlineAccounts.ear\".POST_MODULEjboss.module.spec.service.\"deployment.OnlineAccounts.ear.OnlineAccountsWeb.war\".mainMissing[jboss.deployment.unit.\"OnlineAccounts.ear\".POST_MODULEjboss.module.spec.service.\"deployment.OnlineAccounts.ear.OnlineAccountsWeb.war\".main]"]}

      15:32:33,736 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015877: Stopped deployment OnlineAccountsWeb.war in 15ms

      15:32:33,736 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment OnlineAccountsServices.jar in 15ms

      15:32:33,777 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment OnlineAccounts.ear in 56ms

      15:32:33,778 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report

      JBAS014777:   Services which failed to start:      service jboss.deployment.subunit."OnlineAccounts.ear"."OnlineAccountsWeb.war".CONFIGURE_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."OnlineAccounts.ear"."OnlineAccountsWeb.war".CONFIGURE_MODULE: Failed to process phase CONFIGURE_MODULE of subdeployment "OnlineAccountsWeb.war" of deployment "OnlineAccounts.ear"

       

      15:32:33,788 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.subunit.\"OnlineAccounts.ear\".\"OnlineAccountsWeb.war\".CONFIGURE_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"OnlineAccounts.ear\".\"OnlineAccountsWeb.war\".CONFIGURE_MODULE: Failed to process phase CONFIGURE_MODULE of subdeployment \"OnlineAccountsWeb.war\" of deployment \"OnlineAccounts.ear\""},"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"OnlineAccounts.ear\".POST_MODULEjboss.module.spec.service.\"deployment.OnlineAccounts.ear.OnlineAccountsWeb.war\".mainMissing[jboss.deployment.unit.\"OnlineAccounts.ear\".POST_MODULEjboss.module.spec.service.\"deployment.OnlineAccounts.ear.OnlineAccountsWeb.war\".main]"]}}}

       

      Please guide, Thanks.