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: Insert delay between war deployment
Date Tue, 25 Nov 2008 16:36:50 GMT
> From: Bocalinda [mailto:bocalinda@gmail.com]
> Subject: Insert delay between war deployment
>
> I'm wondering if it is possible to change the deployment
> order which Tomcat follows.

No.  If your webapps have ordering dependencies, it's up to you to provide the necessary synchronization
within the webapps.  The servlet spec indicates that webapps are independent, and Tomcat treats
them that way.

> I more or less found a way to deploy applications at the
> beginning or at the end by appending a .first or .last
> suffix to the name.

A red herring, and not to be relied on.  It likely has more to do with the underlying file
system hash code value generated for each webapp name in its directory.  The order is indeterminate,
and whatever you kludge find that works today may well operate differently on the next update.

Right now, webapps are initialized serially, but there's nothing to prevent them from being
done in parallel in the future.

 - 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