0 Replies Latest reply on May 14, 2014 11:12 PM by Haeyoung Kim

    Problem deploying quickstart/remote-invoker

    Haeyoung Kim Newbie

      Hi, I'm testing switchyard using getting started sample : https://docs.jboss.org/author/display/SWITCHYARD/Getting+Started

       

      Jboss : jboss-eap-6.1

      Java : 1.7 (OS X)

      switchyard : 1.1.0.Final-EAP6.1.GA

       

      installation and build were fine. But when I execute "mvn jboss-as:deploy", it failed :

       

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

       

      Here's EAP log :

       

      12:09:50,218 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.deployment.unit."switchyard-quickstart-remote-invoker.jar".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."switchyard-quickstart-remote-invoker.jar".WeldStartService: Failed to start service

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [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_45]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]

        at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]

      Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [CreditCheck] with qualifiers [@Default] at injection point [[field] @Inject private org.switchyard.quickstarts.remoteinvoker.DealerBean.creditService]

        at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:311)

        at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:280)

        at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:143)

        at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:163)

        at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:382)

        at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:367)

        at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:379)

        at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:64)

        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]

        ... 3 more

       

       

      12:09:50,225 ERROR [org.jboss.as.server] (management-handler-thread - 9) JBAS015870: Deploy of deployment "switchyard-quickstart-remote-invoker.jar" was rolled back with the following failure message:

      {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"switchyard-quickstart-remote-invoker.jar\".WeldStartService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"switchyard-quickstart-remote-invoker.jar\".WeldStartService: Failed to start service

          Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [CreditCheck] with qualifiers [@Default] at injection point [[field] @Inject private org.switchyard.quickstarts.remoteinvoker.DealerBean.creditService]"}}

       

      Any help?