1 Reply Latest reply on Nov 19, 2013 10:29 AM by peterj

    Create a dependency between ear and destinations-service.xml

    radudeliu

      Hi guys,

       

      I have an enterprise application that is using some topics. They are declared in destinations-service.xml (deploy/messaging/destinations-service.xml). When the application server starts it deploy my application (ear archive) before configuring the topics, so an error is logged in server.log file:

      Failed to set up connections javax.naming.NameNotFoundException: topic not bound.

       

      How can I tell jboss to configure the topic first and after that deploy my application?

       

      I'm using JBoss 5.1.0.GA.

       

      Thanks,

      Radu