You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ashish Kulkarni <as...@gmail.com> on 2010/09/15 21:43:25 UTC

How to set start up sequence of application in tomcat

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

-- 
Ashish
www.ayurwellness.com
www.mysoftwareneeds.com

Re: How to set start up sequence of application in tomcat

Posted by Mark Thomas <ma...@apache.org>.
On 15/09/2010 21:00, Ashish Kulkarni wrote:
> Hi
> So there is no way of doing it through tomcat, how can i do it?

Read my response again.

Mark

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


RE: How to set start up sequence of application in tomcat

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Ashish Kulkarni [mailto:ashish.kulkarni13@gmail.com] 
> Subject: Re: How to set start up sequence of application in tomcat

> So there is no way of doing it through tomcat,
> how can i do it?

You will have to implement your own sequencing controller.  The servlet spec likes to consider all webapps as independent entities, and satisfying any requirement beyond that would have to be done via some container-specific mechanism.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


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


Re: How to set start up sequence of application in tomcat

Posted by Ashish Kulkarni <as...@gmail.com>.
Hi
So there is no way of doing it through tomcat, how can i do it?

Ashish

On Wed, Sep 15, 2010 at 3:47 PM, Mark Thomas <ma...@apache.org> wrote:

> 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
>
>


-- 
Ashish
www.ayurwellness.com
www.mysoftwareneeds.com

Re: How to set start up sequence of application in tomcat

Posted by Mark Thomas <ma...@apache.org>.
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