Re: unable to launch a servlet using tomcat 5.5.20

2007-03-09 Thread Len Popp
You can put your initialization code in a ServletContextListener so it is executed before any servlets are run. -- Len On 3/9/07, suchitha koneru <[EMAIL PROTECTED]> wrote: Thank you so much for the response. The reason I am doing this is , because , I am using the servlet to start the Active M

Re: unable to launch a servlet using tomcat 5.5.20

2007-03-09 Thread suchitha koneru
Thank you so much for the response. The reason I am doing this is , because , I am using the servlet to start the Active MQ Broker. There are two web apps which will connect to the broker. The broker has to start first before any of the web apps. Hence I want to load the servlet which starts the

Re: unable to launch a servlet using tomcat 5.5.20

2007-03-09 Thread David Smith
Unfortunately there are a lot of developers who'd like to dictate the load order of servlets. The best answer I or any one else can offer is don't do it. It's not safe programming and all the servlets that depend on it will sooner or later need to deal with the chance it isn't available for some

unable to launch a servlet using tomcat 5.5.20

2007-03-08 Thread suchitha koneru
Hello Tomcat Users , I am facing a problem starting a servlet from tomcat's web.xml . I am using Tomcat 5.5.20. The reason , I am placing this servlet in tomcat's web.xml instead of a web app is because I want , this servlet to start before tomcat loads any of the web applica