tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Orlando Reis" <reis.orla...@gmail.com>
Subject Re: Webapps loading order
Date Mon, 22 Jan 2007 16:39:07 GMT
Ok, that's what I needed to hear will have to do a synchronization
mechanism.

Yes, I know, we don't use anything in the server.xml file, context
definitions are in the context definition in catalina/localhost in
context.xml definition.

Thanks


On 1/22/07, Caldarale, Charles R <Chuck.Caldarale@unisys.com> wrote:
>
> > From: Orlando Reis [mailto:reis.orlando@gmail.com]
> > Subject: Re: Webapps loading order
> >
> > But the definition of the contexts in the server.xml would
> > that guarantee an order on loading?
>
> What does the spec say?  (Hint: there is no server.xml nor <Context>
> element in the spec.)  You really, really need to provide the
> initialization synchronization within your own webapps.
>
> BTW, if you're running a reasonably recent version of Tomcat (5.0 and
> above), you should not be putting <Context> elements in server.xml:
>
> "Please note that for tomcat 5, unlike tomcat 4.x, it is NOT recommended
> to place <Context> elements directly in the server.xml file.  Instead,
> put them in the META-INF/context.xml directory of your WAR file or the
> conf directory as described above."
>
> From:
> http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
>
> - 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 start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message