Thanks for your comments,

I have a collected a second data point, which shows that the WAR does
not stop unpacking at the same point every time.  The first recorded
incident was on Solaris, and this second incident was on Windows.
Again, there was no exception or error message in the Tomcat logs.

The WAR file contains 1461 entries (~23MB).  Solaris stopped after 797
entries.  Windows stopped after 1326 entries.  I doubt future incidents
on the same platforms will stop at the same points.

I've searched the Sun Java bug database, and found lots of interesting
JRE JAR/WAR/zip bugs, triggered by such things as JARs larger than 2GB
(large file support), and JARs with more than 64,000 entries, but none
of the bugs apply to my situation.

-----Original Message-----
From: Michael Heinrichs [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 09, 2007 10:43 AM
To: users@tomcat.apache.org
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
solution?

Thanks,

Mike



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