0 Replies Latest reply on Apr 3, 2012 11:46 AM by cbertoldi

    Dependency on a JMS destination

    cbertoldi

      Hello,

      I'm developing a message driven bean, on both AS5 an EAP 5.1.2.

      On AS5 the JMS destination is deployed before my app, but this is not the case on EAP.

      So I've added the required dependecies to jboss-web.xml. Now the app works fine on EAP, but not on AS5.

      This is the error message:

      DEPLOYMENTS MISSING DEPENDENCIES:

        Deployment "jboss.web.deployment:war=/gestorepmu" is missing the following dependencies:

          Dependency "org.hornetq:module=JMS,name="pushQueue",type=Queue" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'org.hornetq:module=JMS,name="pushQueue",type=Queue' **")

       

      DEPLOYMENTS IN ERROR:

        Deployment "org.hornetq:module=JMS,name="pushQueue",type=Queue" is in error due to the following reason(s): ** NOT FOUND Depends on 'org.hornetq:module=JMS,name="pushQueue",type=Queue' **

       

          at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)

          at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)

          at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)

          at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:369)

          at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)

          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

          at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)

          at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

          at java.lang.Thread.run(Thread.java:680)

      I understand this should because AS5 doesn't have the same deployers as EAP5.

      Is there anything I can do to solve the issue, apart removing jboss-web.xml when deploying on AS5?

       

      Thanks,

      Carlo