• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Start JBoss messaging before my application gets deployed

 
Ananth Vasudevan
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using Jboss 5.1 (which comes with JBM 1.4.x by default) with all configuration.

When the start the Jboss without my application deployed, the JMS service starts and I can see the Jboss Messaging and ConnectionFactory started messages.

But when I deploy my ear file which contains JMS code inside the jboss-service.xml, the application gets deployed first and I get deployment errors and "ConnectionFactory not bound" error. I don't see the JBM and ConnectionFactory in the start up messages.

How do I start the Jboss Messaging server before my application gets deployed? I have a vague idea that I need to have a <depends> somewhere.
Can somebody throw any light to solve this issue?
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can add a <depends> within your jboss-service.xml to depend on the JMS service(s). How are you deploying your .ear? I would have expected the .ear to be deployed after the JMS services are started.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic