2 Replies Latest reply on Jun 30, 2014 4:18 PM by mlybarger

    Trouble deploying switchyard application

    mlybarger

      I'm having some troubles deploying a switchyard application.  I followed the tutorial here: Tutorial - SwitchYard - Project Documentation Editor

       

      when i deploy my application to jboss eap with switchyard installed, i get this error message. 

       

      15:27:57,692 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem
      15:27:58,437 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 26) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
      15:27:58,559 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 49) JBAS014612: Operation ("add") failed - address: ([
          ("subsystem" => "switchyard"),
          ("module" => "org.switchyard.component.soap")
      ]): java.lang.IllegalStateException: JBAS018786: Multiple deployment unit processors registered with priority 16386 and class class org.switchyard.as7.extension.deployment.SwitchYardModuleDependencyProcessor
        at org.jboss.as.server.DeployerChainAddHandler.addDeploymentProcessor(DeployerChainAddHandler.java:63)
        at org.jboss.as.server.AbstractDeploymentChainStep$1.addDeploymentProcessor(AbstractDeploymentChainStep.java:40)
        at org.switchyard.as7.extension.SwitchYardModuleAdd$1.execute(SwitchYardModuleAdd.java:99)
        at org.jboss.as.server.AbstractDeploymentChainStep.execute(AbstractDeploymentChainStep.java:50)
        at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:607) [jboss-as-controller-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
        at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:485) [jboss-as-controller-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
        at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:282) [jboss-as-controller-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
        at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:277) [jboss-as-controller-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
        at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:343) [jboss-as-controller-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_55]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_55]
        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_55]
        at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final-redhat-1.jar:2.1.1.Final-redhat-1]
      
      
      15:27:59,060 INFO  [org.jboss.as.naming] (MSC service thread 1-3) JBAS011802: Starting Naming Service
      15:27:59,064 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-8) JBAS015400: Bound mail session [java:jboss/mail/Default]
      15:28:00,242 INFO  [org.apache.coyote.http11] (MSC service thread 1-5) JBWEB003001: Coyote HTTP/1.1 initializing on : http-localhost/127.0.0.1:8080
      15:28:00,259 INFO  [org.apache.coyote.http11] (MSC service thread 1-5) JBWEB003000: Coyote HTTP/1.1 starting on: http-localhost/127.0.0.1:8080
      15:28:01,815 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
      15:28:02,352 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) "JBAS014784: Failed executing subsystem switchyard boot operations"
      15:28:02,458 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "switchyard-example.jar" (runtime-name: "switchyard-example.jar")
      15:28:02,463 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-5) JBAS015012: Started FileSystemDeploymentService for directory C:\Users\Lybama01\Downloads\jbdevstudio-7.1.1.GA\runtimes\jboss-eap\jboss-eap-6.2\standalone\deployments
      15:28:02,524 INFO  [org.jboss.as.remoting] (MSC service thread 1-3) JBAS017100: Listening on 127.0.0.1:9999
      15:28:02,524 INFO  [org.jboss.as.remoting] (MSC service thread 1-6) JBAS017100: Listening on 127.0.0.1:4447
      15:28:03,269 INFO  [org.jboss.ws.common.management] (MSC service thread 1-7) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.2.3.Final-redhat-1
      15:28:03,913 INFO  [org.jboss.weld.deployer] (MSC service thread 1-8) JBAS016002: Processing weld deployment switchyard-example.jar
      15:28:04,206 INFO  [org.jboss.weld.deployer] (MSC service thread 1-7) JBAS016005: Starting Services for CDI deployment: switchyard-example.jar
      15:28:04,553 INFO  [org.jboss.weld.Version] (MSC service thread 1-7) WELD-000900 1.1.16 (redhat)
      15:28:04,579 INFO  [org.switchyard] (MSC service thread 1-7) Deploying SwitchYard application 'switchyard-example.jar'
      15:28:04,580 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service jboss.deployment.unit."switchyard-example.jar".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."switchyard-example.jar".INSTALL: JBAS018733: Failed to process phase INSTALL of deployment "switchyard-example.jar"
        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
        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_55]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_55]
        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_55]
      Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service SwitchYardServiceDomainManagerService not found
        at org.jboss.msc.service.ServiceContainerImpl.getRequiredService(ServiceContainerImpl.java:448) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
        at org.jboss.msc.service.DelegatingServiceRegistry.getRequiredService(DelegatingServiceRegistry.java:46) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
        at org.switchyard.as7.extension.deployment.SwitchYardDeploymentProcessor.deploy(SwitchYardDeploymentProcessor.java:79)
        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
        ... 5 more
      
      
      15:28:04,626 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 27) JBAS018559: Deployed "switchyard-example.jar" (runtime-name : "switchyard-example.jar")
      15:28:04,629 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
      JBAS014777:   Services which failed to start:      service jboss.deployment.unit."switchyard-example.jar".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."switchyard-example.jar".INSTALL: JBAS018733: Failed to process phase INSTALL of deployment "switchyard-example.jar"
      
      

       

      any hints on what to investigate as to the trouble would be most appreciated!  thanks,

      -mark-

        • 1. Re: Trouble deploying switchyard application
          kcbabo

          Which version of EAP and SwitchYard?  Did you run the installer multiple times against the same EAP instance by chance?

          1 of 1 people found this helpful
          • 2. Re: Trouble deploying switchyard application
            mlybarger

            Thanks for the response.  I was using EAP 6.2 and SW 1.1.0.  I contacted JBoss support, and was told that the only supported setup is EAP 6.1 with FSW 6.0. I started to quickly get lost in product name/version mush.  Fuse/Fuse Service Works, SwitchYard, EAP, community... what?  Ok, so I finally installed a clean EAP 6.1 and SW 1.1 and the example deployed and ran fine.