You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Cord Awtry <ki...@rcn.com> on 2006/03/28 17:52:51 UTC

Context startup order

All,
 
            I have several contexts that run on one server. I've slogged
through documentation and googled until I can google no more, but I've been
unable to find a way to specify an order to start them up (there's one in
particular that I want to start first). Does anyone know of a way to do this
that I missed? This is Tomcat 5.0.28, btw.
 
            Thanks,
 
                        -C-
 

Re: Context startup order

Posted by Nic Daniau <ni...@googlemail.com>.
I wouldn't bet on that, plus it would be a short term fix as it's meant to
become a deprecated use of server.xml in future releases

That said, I don't have the answer but I'm sure it's in the source if you
take the time to go through it...

On 28/03/06, Vivek Mohan <vi...@gmail.com> wrote:
>
> Do you have all the contexts mentioned in one server.xml? or do you
> have separate context xmls for your separate contexts? If its the
> former case, then I guess, the order in which you mention the contexts
> in server.xml is going to be the order of starting them up by Tomcat.
>
> --
> Vivek.
>
> On 3/28/06, Cord Awtry <ki...@rcn.com> wrote:
> > All,
> >
> >             I have several contexts that run on one server. I've slogged
> > through documentation and googled until I can google no more, but I've
> been
> > unable to find a way to specify an order to start them up (there's one
> in
> > particular that I want to start first). Does anyone know of a way to do
> this
> > that I missed? This is Tomcat 5.0.28, btw.
> >
> >             Thanks,
> >
> >                         -C-
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Context startup order

Posted by Vivek Mohan <vi...@gmail.com>.
Do you have all the contexts mentioned in one server.xml? or do you
have separate context xmls for your separate contexts? If its the
former case, then I guess, the order in which you mention the contexts
in server.xml is going to be the order of starting them up by Tomcat.

--
Vivek.

On 3/28/06, Cord Awtry <ki...@rcn.com> wrote:
> All,
>
>             I have several contexts that run on one server. I've slogged
> through documentation and googled until I can google no more, but I've been
> unable to find a way to specify an order to start them up (there's one in
> particular that I want to start first). Does anyone know of a way to do this
> that I missed? This is Tomcat 5.0.28, btw.
>
>             Thanks,
>
>                         -C-

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