tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <>
Subject Re: WAR deployment incomplete (sometimes)
Date Wed, 09 May 2007 15:37:21 GMT
<Context antiJARLocking="true" antiResourceLocking="true">

link courtesy of erik burke

This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- 
From: "Michael Heinrichs" <>
To: <>
Sent: Wednesday, May 09, 2007 10:43 AM
Subject: WAR deployment incomplete (sometimes)

Hello everyone,

I am having a problem with WAR deployment.  I am performing a static
deployment: copying a ROOT.war under the webapps directory, and then
starting Tomcat (no other web applications).  On most occasions, the
deployment is successful.  However, occasionally the deployment does not
succeed, and the WAR is only partially unpacked.  Subsequently stopping
Tomcat, deleting the expanded webapp directory, and starting Tomcat
again will (normally) result in a successful deployment.  When this
happens, I see no exceptions in the logs.  I've looked at the Tomcat
source responsible for WAR expansion, and found no clues.

I have begun collecting data to establish whether the unpacking always
stops at the same point in the WAR, but only have one data point so far.
I have verified that the WAR unpacking stops at a sequential point (all
files before that point are unpacked, and all files after that point
have not been unpacked).  In the single instance I have recorded,
unpacking stops between two similar, and unremarkable HTML files.

This problem has occurred on Solaris, Linux (Redhat), and Windows, so
this problem is not platform-specific.

I've searched the mailing list archives, and I can find no reference to
others having the same problem.  Can anyone offer an explanation or



To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message