Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

broker start up in Tomcat

suchitha koneru

2007-07-26

Replies:

Hello Tomcat Users,
                I am using Tomcat server 5.5.20 along with Java 1.6,
and Active MQ 4.1.1. There are two web applications A and B which
communicate via the active mq broker. Our application has a requirement of
starting the broker before any of the web apps. Where should I be placing
the code which starts the broker. I can create a jar file out of the code
and dependent libraries and place it in common/lib. How will I communicate
to Tomcat server that the broker has to be started during the server start
up process, before any of the web apps ? Any pointers in this regard ?

thank you ,
Suchitha.
©2008 junlu.com - Jax Systems, LLC, U.S.A.