PDA

View Full Version : PING: Tomcat gurus


cartman
12-17-2007, 07:07 PM
I've got a question to ask for Tomcat gurus. I've been asking The Google all afternoon, and can't seem to find an answer to what I'm trying to do.

We've got a couple of apps deployed under the webapps folder of Tomcat. We need to stagger the start of these, so that the first one starts once Tomcat has fully started, and the second apps starts once the first app is finished starting. If we have to restart Tomcat for any reason, we have to undeploy then redeploy these apps to get them working correctly.

I figure this has to be some sort of context setting for web.xml, but I can't seem to find anything online. Can anyone give some ideas or point me in the right direction?