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

    Create a dependency between ear and destinations-service.xml

    Radu DELIU Newbie

      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