6 Replies Latest reply on Jan 15, 2014 12:16 PM by kcbabo

    Switchyard with Eclipse tutorial: Failed to process phase POST_MODULE of deployment "switchyard-example.jar"

    hongan

      Hello friends,

       

      I follow the tutorial Tutorial - SwitchYard - Project Documentation Editor which made me impressive by its Eclipse tooling. I succeeded in building switchyard-example project but failed to deploy it. The versions I use are: jboss-eap-6.1 and switchyard-1.0.0.Final-EAP6.1.GA.

       

      Here is the server log:

       

      11:20:49,002 INFO  [org.jboss.modules] (main) JBoss Modules version 1.2.0.Final-redhat-1
      11:20:49,134 INFO  [org.jboss.msc] (main) JBoss MSC version 1.0.4.GA-redhat-1
      11:20:49,184 INFO  [org.jboss.as] (MSC service thread 1-6) JBAS015899: JBoss EAP 6.1.0.GA (AS 7.2.0.Final-redhat-8) starting
      11:20:49,780 INFO  [org.switchyard] (ServerService Thread Pool -- 6) SwitchYard version 1.0.0.Final
      11:20:49,854 INFO  [org.xnio] (MSC service thread 1-6) XNIO Version 3.0.7.GA-redhat-1
      11:20:49,856 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)
      11:20:49,858 INFO  [org.xnio.nio] (MSC service thread 1-6) XNIO NIO Implementation Version 3.0.7.GA-redhat-1
      11:20:49,863 INFO  [org.jboss.remoting] (MSC service thread 1-6) JBoss Remoting version 3.2.16.GA-redhat-1
      11:20:49,907 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 30) JBAS010280: Activating Infinispan subsystem.
      11:20:49,911 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 43) JBAS013171: Activating Security Subsystem
      11:20:49,919 INFO  [org.jboss.as.security] (MSC service thread 1-7) JBAS013170: Current PicketBox version=4.0.17.Final-redhat-1
      11:20:49,921 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem
      11:20:49,924 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 47) JBAS015537: Activating WebServices Extension
      11:20:49,940 INFO  [org.switchyard] (ServerService Thread Pool -- 49) Activating SwitchYard Subsystem
      11:20:49,950 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 36) JBAS012605: Activated the following JSF Implementations: [main, 1.2]
      11:20:49,954 INFO  [org.jboss.as.connector.logging] (MSC service thread 1-6) JBAS010408: Starting JCA Subsystem (IronJacamar 1.0.17.Final-redhat-1)
      11:20:49,959 INFO  [org.jboss.as.naming] (MSC service thread 1-4) JBAS011802: Starting Naming Service
      11:20:49,967 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-7) JBAS015400: Bound mail session [java:jboss/mail/Default]
      11:20:50,041 INFO  [org.jboss.ws.common.management] (MSC service thread 1-6) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.1.3.Final-redhat-3
      11:20:50,056 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 26) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
      11:20:50,355 INFO  [org.apache.coyote.http11] (MSC service thread 1-7) JBWEB003001: Coyote HTTP/1.1 initializing on : http-localhost/127.0.0.1:8080
      11:20:50,357 INFO  [org.apache.coyote.http11] (MSC service thread 1-7) JBWEB003000: Coyote HTTP/1.1 starting on: http-localhost/127.0.0.1:8080
      11:20:50,384 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) JBAS015012: Started FileSystemDeploymentService for directory D:\software\jboss-eap-6.1\standalone\deployments
      11:20:50,400 INFO  [org.jboss.as.remoting] (MSC service thread 1-7) JBAS017100: Listening on 127.0.0.1:14447
      11:20:50,400 INFO  [org.jboss.as.remoting] (MSC service thread 1-4) JBAS017100: Listening on 127.0.0.1:19999
      11:20:50,460 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) JBAS010400: Bound data source [java:jboss/datasources/jbpmDS]
      11:20:50,460 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
      11:20:50,654 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:19990/management
      11:20:50,654 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:19990
      11:20:50,654 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss EAP 6.1.0.GA (AS 7.2.0.Final-redhat-8) started in 1916ms - Started 151 of 206 services (53 services are passive or on-demand)
      11:20:54,178 ERROR [org.jboss.remoting.remote.connection] (Remoting "nha-pc:MANAGEMENT" read-1) JBREM000200: Remote connection failed: java.io.IOException: An established connection was aborted by the software in your host machine
      11:20:54,225 ERROR [org.jboss.remoting.remote.connection] (Remoting "nha-pc:MANAGEMENT" read-1) JBREM000200: Remote connection failed: java.io.IOException: An established connection was aborted by the software in your host machine
      11:21:01,760 ERROR [org.jboss.remoting.remote.connection] (Remoting "nha-pc:MANAGEMENT" read-1) JBREM000200: Remote connection failed: java.io.IOException: An established connection was aborted by the software in your host machine
      11:21:01,944 ERROR [org.jboss.remoting.remote.connection] (Remoting "nha-pc:MANAGEMENT" read-1) JBREM000200: Remote connection failed: java.io.IOException: An established connection was aborted by the software in your host machine
      11:21:01,981 ERROR [org.jboss.remoting.remote.connection] (Remoting "nha-pc:MANAGEMENT" read-1) JBREM000200: Remote connection failed: java.io.IOException: An established connection was aborted by the software in your host machine
      11:21:02,092 ERROR [org.jboss.remoting.remote.connection] (Remoting "nha-pc:MANAGEMENT" read-1) JBREM000200: Remote connection failed: java.io.IOException: An established connection was aborted by the software in your host machine
      11:21:02,121 ERROR [org.jboss.remoting.remote.connection] (Remoting "nha-pc:MANAGEMENT" read-1) JBREM000200: Remote connection failed: java.io.IOException: An established connection was aborted by the software in your host machine
      11:21:05,428 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "switchyard-example.jar" (runtime-name: "switchyard-example.jar")
      11:21:05,582 INFO  [org.jboss.weld.deployer] (MSC service thread 1-8) JBAS016002: Processing weld deployment switchyard-example.jar
      11:21:05,610 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.deployment.unit."switchyard-example.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."switchyard-example.jar".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment "switchyard-example.jar"
        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
        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(Unknown Source) [rt.jar:1.7.0_45]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.7.0_45]
        at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_45]
      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.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
        ... 5 more
      
      
      11:21:05,616 ERROR [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "switchyard-example.jar" was rolled back with the following failure message:
      {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"switchyard-example.jar\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"switchyard-example.jar\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment \"switchyard-example.jar\"
          Caused by: java.lang.NullPointerException"}}
      11:21:05,620 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment switchyard-example.jar (runtime-name: switchyard-example.jar) in 4ms
      

       

      Thanks for any help.