4 Replies Latest reply on Jul 3, 2013 8:12 AM by tenzor

    Error in deploying switchyard application on Jboss 7.2.0.Final

    tenzor Newbie

      Hello everyone!

       

      I'm trying to deploy an application on JBoss 7.2.0.Final to test SwitchYard, and I'm getting an error listed below -

       

       

      14:39:03,792 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."switchyard-quickstart-demo-orders.war".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."switchyard-quickstart-demo-orders.war".WeldStartService: Failed to start service         at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]         at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25] Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001414 Bean name is ambiguous. Name order resolves to beans [Managed Bean [class org.switchyard.quickstarts.demos.orders.Order] with qualifiers [@Any @Default @Named], Managed Bean [class org.switchyard.quickstarts.demos.orders.Order] with qualifiers [@Any @Default @Named]]         at org.jboss.weld.bootstrap.Validator.validateBeanNames(Validator.java:476)         at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:373)         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.jar:1.0.4.GA]         at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]         ... 3 more 14:39:04,004 ERROR [org.jboss.as.server] (HttpManagementService-threads - 2) JBAS015870: Deploy of deployment "switchyard-quickstart-demo-orders.war" was rolled back with the following failure message: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"switchyard-quickstart-demo-orders.war\".WeldStartService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"switchyard-quickstart-demo-orders.war\".WeldStartService: Failed to start service     Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001414 Bean name is ambiguous. Name order resolves to beans [Managed Bean [class org.switchyard.quickstarts.demos.orders.Order] with qualifiers [@Any @Default @Named], Managed Bean [class org.switchyard.quickstarts.demos.orders.Order] with qualifiers [@Any @Default @Named]]"}}

       

      Testing application was taken from - https://github.com/jboss-switchyard/quickstarts

       

      Please help me! Thank you!