Chuck:

Thanks for the tip. I played a bit with both attributes, with no luck (but admittedly I don't fully understand them, so I was playing somewhat blind). I was able to get different errors, but no joy.

Here's what I've since discovered....

My normal mode of operation is to copy my .war files, of significant size, over a non-local, relatively slow connection, which normally takes about 25 seconds.

When I made a test .war file, with minimal contents and small size which copies quickly (1 second or so), things usually work fine.

What I think may be happening is that when I start the copy, it's not done when the next auto-load cycle comes around (every 10 seconds). It tries loading an incomplete .war file, which may be locked because it's not done copying. So it gives up completely, not even trying again in subsequent auto-load cycles.

When I copy the small .war file, it takes about 1 second, and hits "in between" auto-deploy cycles (at least usually).

Hmmm.... if I set the auto-deploy cycle to a longer time frame, in excess of the expected file copy time, that should improve my odds. I'll give it a try.

David


Caldarale, Charles R wrote:
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Problem with auto-deploy

2007-01-09 11:21:44,859
(org.apache.catalina.startup.ContextConfig,init(),ERROR)
Exception fixing docBase: {0}
java.util.zip.ZipException: The process cannot access the
file because it is being used by another process

Look at the antiJARLocking and antiResourceLocking attributes of the
<Context> element:
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]



---------------------------------------------------------------------
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