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: hot-deploy problems
Date Sun, 03 May 2009 20:46:44 GMT
> From: david owens [mailto:ymidt@yahoo.com]
> Subject: RE: hot-deploy problems
> 
> Java 1.6.0_01

For security and stability, you really should update the JVM.

> OS winXPPro

Windows has serious file locking issues; you will likely need to set the antiJARLocking and
antiResourceLocking attributes for the relevant <Context> elements.  These can be set
in the global conf/context.xml <Context> element, but since they do increase startup
time, it's better to do it selectively in the webapps you actually might update on the fly.
 Since you don't currently have a context.xml file, create a META-INF/context.xml file inside
each .war that needs it, containing just the following:
<Context antiJARLocking="true" antiResourceLocking="true"/>

 - 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 unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message