tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Webapps loading order
Date Mon, 22 Jan 2007 16:10:47 GMT
> 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
View raw message