tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: How to set start up sequence of application in tomcat
Date Wed, 15 Sep 2010 19:47:18 GMT
On 15/09/2010 20:43, Ashish Kulkarni wrote:
> Hi
> I have deployed 3 applications in tomcat, is there a way to setup startup
> sequence of these applications in tomcat, for example if i have test, test1,
> test2 as application then i would like to start test2 first, test1 second
> and test last, as test needs some information from test1.
> 
> Any ideas

The only pure configuration way to do this is to define the Context
elements in server.xml. Contexts will be deployed in the order you
define them.

Defining Context elements in server.xml has some significant down sides
that have been discussed plenty of times in the past.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message