1 Reply Latest reply on Apr 7, 2015 2:55 PM by laxmanporeddy

    MSC000001: Failed to start service jboss.deployment.unit error  whe deploying  switchyard application into JBOSS

    laxmanporeddy

      I am new to JBoss switch yard application. I have created one sample switch yard application using maven3 and jbds tool. I see below error,when I try to deploy (JAR) file to JBOSS 6 server and deployment is unsuccessful. Please help me out to resolve this issue. Thanks

       

      Log error stake trace:

      16:35:29,863 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC000001: Failed to start service jboss.deployment.unit."switchyard-example-0.0.1-SNAPSHOT.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."switchyard-example-0.0.1-SNAPSHOT.jar".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment "switchyard-example-0.0.1-SNAPSHOT.jar"
          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_71]
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_71]
          at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_71]

      Caused by: java.lang.NullPointerException

          at org.switchyard.as7.extension.deployment.SwitchYardConfigProcessor$JBossPropertyResolver.set(SwitchYardConfigProcessor.java:106)
          at org.switchyard.as7.extension.deployment.SwitchYardConfigProcessor$JBossPropertyResolver.access$000(SwitchYardConfigProcessor.java:87)
          at org.switchyard.as7.extension.deployment.SwitchYardConfigProcessor.deploy(SwitchYardConfigProcessor.java:60)
          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
          ... 5 more

       

      16:35:29,863 ERROR [org.jboss.as.server] (HttpManagementService-threads - 3) JBAS015870: Deploy of deployment "switchyard-example-0.0.1-SNAPSHOT.jar" was rolled back with the following failure message:

      {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"switchyard-example-0.0.1-SNAPSHOT.jar\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"switchyard-example-0.0.1-SNAPSHOT.jar\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment \"switchyard-example-0.0.1-SNAPSHOT.jar\"

      Caused by: java.lang.NullPointerException"}}

      16:35:29,873 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015877: Stopped deployment switchyard-example-0.0.1-SNAPSHOT.jar (runtime-name: switchyard-example-0.0.1-SNAPSHOT.jar) in 7ms