[jboss-user] [EJB/JBoss] - Re: EJB deploy before queue is ready

2009-05-15 Thread jaikiran
anonymous wrote : From what I can tell, it seems to be an issue of timing, it's 
deploying the EJBs and creating the queues at the same time. Is there any way 
to tell the EJBs to wait for the queues - other than putting some dependency on 
the EJBDeployer itself? For instance, any way in the ejb-jar.xml to tell the 
ejbs to wait for the queue to be created before trying to be deployed? 

You can do that through jboss.xml. Here's an example:

  | 
  |   
  |  MyEJB
  |  jboss.mq.destination:name=DLQ,service=Queue
  | ...
  |   
  | ...
  |
The EJB then will deploy after the DLQ queue is deployed. You will have to 
check the jmx-console to find the correct MBean service name for the queue.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231277#4231277

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231277
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Re: EJB deploy before queue is ready

2009-05-15 Thread skajotde
The same problem was on Weblogic 8. I'm courius of proper solution.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231254#4231254

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231254
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user