0 Replies Latest reply on Jun 15, 2004 7:13 AM by indigo

    Servlet depends on Service (MQ) - how to set start order ?

    indigo Newbie

      Hi,

      I have a servlet that in its init() method requires access to MQ (it logs audit information). The servlet loads on startup, and is unable to obtain a reference to the ConnectionFactory in JBossMQ because the MQ service has not yet started. Is there some way I can make the servlet/war/EAR dependant on the MQ service having started - I do *not* want to make the whole EARDeploy service wait for the queues to start.

      Thanks in advance