Re: broker start up in Tomcat

2007-07-27 Thread suchitha koneru
wall problems etc. I guess its because you have message beans in an > application server somewhere just wondering. > > - Original Message - > From: "suchitha koneru" <[EMAIL PROTECTED]> > To: > Sent: Friday, July 27, 2007 12:48 AM > Subject: broker st

Re: broker start up in Tomcat

2007-07-26 Thread Johnny Kewl
"suchitha koneru" <[EMAIL PROTECTED]> To: Sent: Friday, July 27, 2007 12:48 AM Subject: broker start up in Tomcat 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 com

Re: broker start up in Tomcat

2007-07-26 Thread suchitha koneru
Thank you Len for the suggested approach . The web apps should be abstracted from the procedure of starting the broker, otherwise I'll end up adding a servlet context listener for every new web app added to our application. If possible, Iam looking for a way , in which Tomcat would start the broke

Re: broker start up in Tomcat

2007-07-26 Thread Len Popp
Write a function in your shared lib that checks if Active MQ has been started yet, and starts it if not. Then, in each webapp add a ServletContextListener with a contextInitialized method that calls the aforementioned function. Thus, Active MQ will be initialized when the first webapp starts up, wh

broker start up in Tomcat

2007-07-26 Thread suchitha koneru
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 shoul