8 Replies Latest reply on Nov 6, 2013 8:24 AM by Magesh Bojan

    quickstart with Red Hat Linux deploy errors

    Khanh Vo Newbie

      Hello,

      In my other posts I was running Ubuntu and Switchyard 0.8/Jboss 7.1.1 and was able to deploy the quickstarts.

       

      I am now trying to deploy on my simulated Production Server which is Red Hat Linux. I am getting errors when running:

      mvn jboss-as:deploy

       

      Command error:

      [INFO] --- jboss-as-maven-plugin:7.1.1.Final:deploy (default-cli) @ switchyard-quickstart-bpel-service-say-hello ---

      Oct 30, 2013 8:43:58 PM org.xnio.Xnio <clinit>

      INFO: XNIO Version 3.0.3.GA

      Oct 30, 2013 8:43:58 PM org.xnio.nio.NioXnio <clinit>

      INFO: XNIO NIO Implementation Version 3.0.3.GA

      Oct 30, 2013 8:43:58 PM org.jboss.remoting3.EndpointImpl <clinit>

      INFO: JBoss Remoting version 3.2.3.GA

      [INFO] ------------------------------------------------------------------------

      [INFO] BUILD FAILURE

      [INFO] ------------------------------------------------------------------------

      [INFO] Total time: 6.711s

      [INFO] Finished at: Wed Oct 30 20:43:59 UTC 2013

      [INFO] Final Memory: 29M/291M

      [INFO] ------------------------------------------------------------------------

      [ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.1.1.Final:deploy (default-cli) on project switchyard-quickstart-bpel-service-say-hello: Deployment failed and was rolled back. -> [Help 1]

      [ERROR]

      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

      [ERROR] Re-run Maven using the -X switch to enable full debug logging.

      [ERROR]

      [ERROR] For more information about the errors and possible solutions, please read the following articles:

      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

      [root@mm-core say_hello]#

       

       

      Jboss Error:

       

      20:43:59,018 INFO  [org.switchyard.common.camel.SwitchYardCamelContext] (MSC service thread 1-4) Apache Camel 0.8.0.Final (CamelContext: camel-3) started in 0.075 seconds

      20:43:59,095 INFO  [stdout] (MSC service thread 1-4) Retrieving document at 'vfs:/content/switchyard-quickstart-bpel-service-say-hello.jar/SayHelloArtifacts.wsdl'.

      20:43:59,312 INFO  [org.switchyard.common.camel.SwitchYardCamelContext] (MSC service thread 1-4) Route: direct:{urn:switchyard-quickstart:bpel-say-hello:0.1.0}SayHelloService started and consuming from: Endpoint[direct://%7Burn:switchyard-quickstart:bpel-say-hello:0.1.0%7DSayHelloService]

      20:43:59,321 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.unit."switchyard-quickstart-bpel-service-say-hello.jar".SwitchYardService: org.jboss.msc.service.StartException in service jboss.deployment.unit."switchyard-quickstart-bpel-service-say-hello.jar".SwitchYardService: Failed to start service

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

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

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

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

      Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.switchyard.component.soap.endpoint.JBossWSEndpoint

          at org.switchyard.component.soap.endpoint.JBossWSEndpointPublisher.publish(JBossWSEndpointPublisher.java:64)

          at org.switchyard.component.soap.InboundHandler.start(InboundHandler.java:104)

          at org.switchyard.deploy.internal.Deployment.deployServiceBindings(Deployment.java:520)

          at org.switchyard.deploy.internal.Deployment.start(Deployment.java:141)

          at org.switchyard.as7.extension.deployment.SwitchYardDeployment.start(SwitchYardDeployment.java:106)

          at org.switchyard.as7.extension.services.SwitchYardService.start(SwitchYardService.java:78)

          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]

          ... 3 more

       

      20:43:59,331 INFO  [org.jboss.as.server] (management-handler-thread - 4) JBAS015870: Deploy of deployment "switchyard-quickstart-bpel-service-say-hello.jar" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"switchyard-quickstart-bpel-service-say-hello.jar\".SwitchYardService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"switchyard-quickstart-bpel-service-say-hello.jar\".SwitchYardService: Failed to start service"}}

      20:43:59,342 INFO  [org.jboss.weld.deployer] (MSC service thread 1-1) JBAS016009: Stopping weld service for deployment switchyard-quickstart-bpel-service-say-hello.jar

      20:43:59,349 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment switchyard-quickstart-bpel-service-say-hello.jar in 18ms

      20:43:59,350 INFO  [org.jboss.as.controller] (management-handler-thread - 4) JBAS014774: Service status report

      JBAS014777:   Services which failed to start:      service jboss.deployment.unit."switchyard-quickstart-bpel-service-say-hello.jar".SwitchYardService: org.jboss.msc.service.StartException in service jboss.deployment.unit."switchyard-quickstart-bpel-service-say-hello.jar".SwitchYardService: Failed to start service