It's not a secret anymore!*
The moose likes Tomcat and the fly likes Configuring which application starts first Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "Configuring which application starts first" Watch "Configuring which application starts first" New topic
Author

Configuring which application starts first

Luke Murphy
Ranch Hand

Joined: May 12, 2010
Posts: 300
Hi,
If you have multiple applications deployed to Tomcat. Is there anyway to configure which applications starts 1st, 2nd, 3rd etc?
Thanks.
Luke Murphy
Ranch Hand

Joined: May 12, 2010
Posts: 300
Luke Murphy wrote:Hi,
If you have multiple applications deployed to Tomcat. Is there anyway to configure which applications starts 1st, 2nd, 3rd etc?
Thanks.


HEre's the answer:

http://wiki.apache.org/tomcat/FAQ/Miscellaneous#Q27


What order do webapps start (or how can I change startup order)?

There is no expected startup order. Neither the Servlet spec nor Tomcat define one. You can't rely on the apps starting in any particular order.
 
GeeCON Prague 2014
 
subject: Configuring which application starts first