3 Replies Latest reply on Feb 23, 2012 2:15 AM by gunnarbos

    is switchyard 0.3.0 working together with JBoss AS 7.1.0-Final?

    gunnarbos

      I have trouble creating a BPEL process invoking a web service. Something is wrong with the invoke activity.

      I get this error in Eclipse: !!BPELC_PA__OMIT! [0=java.lang.IllegalArgumentException: Choice Pattern incorrect,1=null,2={2},3={3},4={4},5={5}]

       

      I used to run with 7.1.0.CR2b and was able to deploy the bpel process so I tried to switch to 7.1.0.Final but now I can't deploy the process any longer.

      When I try to deploy I get:

       

      13:55:13,083 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "GsmBpel-0.0.1-SNAPSHOT.jar"

      13:55:13,091 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-11) MSC00001: Failed to start service jboss.deployment.unit."GsmBpel-0.0.1-SNAPSHOT.jar".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.unit."GsmBpel-0.0.1-SNAPSHOT.jar".DEPENDENCIES: Failed to process phase DEPENDENCIES of deployment "GsmBpel-0.0.1-SNAPSHOT.jar"

                at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.0.Final.jar:7.1.0.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$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_26]

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

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

      Caused by: java.lang.NoSuchMethodError: org.jboss.as.server.deployment.module.ModuleDependency.<init>(Lorg/jboss/modules/ModuleLoader;Lorg/jboss/modules/ModuleIdentifier;ZZZ)V

                at org.switchyard.as7.extension.deployment.SwitchYardDependencyProcessor.deploy(SwitchYardDependencyProcessor.java:74)

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

                ... 5 more

       

       

      13:55:13,104 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS015870: Deploy of deployment "GsmBpel-0.0.1-SNAPSHOT.jar" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"GsmBpel-0.0.1-SNAPSHOT.jar\".DEPENDENCIES" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"GsmBpel-0.0.1-SNAPSHOT.jar\".DEPENDENCIES: Failed to process phase DEPENDENCIES of deployment \"GsmBpel-0.0.1-SNAPSHOT.jar\""}}

      13:55:13,107 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-16) JBAS015877: Stopped deployment GsmBpel-0.0.1-SNAPSHOT.jar in 1ms

      13:55:13,108 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 1) JBAS014774: Service status report

      JBAS014777:   Services which failed to start:      service jboss.deployment.unit."GsmBpel-0.0.1-SNAPSHOT.jar".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.unit."GsmBpel-0.0.1-SNAPSHOT.jar".DEPENDENCIES: Failed to process phase DEPENDENCIES of deployment "GsmBpel-0.0.1-SNAPSHOT.jar"

       

       

      13:55:13,109 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"GsmBpel-0.0.1-SNAPSHOT.jar\".DEPENDENCIES" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"GsmBpel-0.0.1-SNAPSHOT.jar\".DEPENDENCIES: Failed to process phase DEPENDENCIES of deployment \"GsmBpel-0.0.1-SNAPSHOT.jar\""}}}}