GeeCON Prague 2014*
The moose likes Tomcat and the fly likes Tomcat restart - application deployment sequence Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat restart - application deployment sequence" Watch "Tomcat restart - application deployment sequence" New topic
Author

Tomcat restart - application deployment sequence

Chandrasekhar Elindram
Greenhorn

Joined: Jul 16, 2007
Posts: 15
Hi,

Is there any way to specify the sequence of the war files deployed, on to the tomcat container when it is restarted.

I have application A and application B, and I want A to be started first and then B when I restart tomcat. Because, application A is accessing a web service deployed on B from its init method.

How can I make sure A starts first and then B?

Thanks in advance for your valuable suggestions !!!


SCJP, SCBCD
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

There isn't.
Do you have apps that depend on one another?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Chandrasekhar Elindram
Greenhorn

Joined: Jul 16, 2007
Posts: 15
yes, I have two apps one depends on other...
 
GeeCON Prague 2014
 
subject: Tomcat restart - application deployment sequence