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 <[EMAIL PROTECTED]> wrote:

> From: Orlando Reis [mailto:[EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to