0 Replies Latest reply on Jan 22, 2015 4:06 AM by JP Singh

    Wildfly 8.2.0 - JNDI - JMS Issue

    JP Singh Newbie

      I'm trying to play around with the JMS configurations in Wildfly 8.2. I grabbed one of the quickstart examples - https://github.com/wildfly/quickstart/tree/master/helloworld-mdb

       

      Following this example(without any changes) if I create the war file and copy to $JBOSS_HOME/standalone/deployments folder and then start standalone.bat -c standalone-full.xml - It works fine.

       

      The issue is that if I start Wildfly first and then deploy the war I get the below errors. Can someone please advise? Thanks

       

      2015-01-22 19:43:01,235 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "wildfly-helloworld-mdb.war" (runtime-name: "wildfly-helloworld-mdb.war")

      2015-01-22 19:43:01,344 INFO  [org.jboss.weld.deployer] (MSC service thread 1-8) JBAS016002: Processing weld deployment wildfly-helloworld-mdb.war

      2015-01-22 19:43:01,438 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.deployment.unit."wildfly-helloworld-mdb.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."wildfly-helloworld-mdb.war".INSTALL: JBAS018733: Failed to process phase INSTALL of deployment "wildfly-helloworld-mdb.war"

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

          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: java.lang.IllegalArgumentException: JBAS011053: Incompatible conflicting binding at java:/queue/HELLOWORLDMDBQueue source: org.jboss.as.messaging.deployment.DirectJMSDestinationInjectionSource@d4cd17

          at org.jboss.as.ee.component.deployers.ModuleJndiBindingProcessor.addJndiBinding(ModuleJndiBindingProcessor.java:243)

          at org.jboss.as.ee.component.deployers.ModuleJndiBindingProcessor.deploy(ModuleJndiBindingProcessor.java:108)

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

          ... 5 more