I don't see a consistent pattern, but it definitely happens on first
deployment.  In my scenario, Tomcat is installed as part of a larger
product installation, with the WAR file under the webapps directory,
ready for deployment when Tomcat is first started.  So the WAR is
intended to only ever be deployed once, and it's failing the first time.
I have seen it fail a second time, so it's not just a new-install issue
either.

To try to reproduce this problem, I wrote a script to repeatedly:
- stop Tomcat
- delete expanded WAR directory
- start Tomcat
- verify WAR expansion

The deployment never failed under these test conditions.


-----Original Message-----
From: David Kerber [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 09, 2007 11:39 AM
To: Tomcat Users List
Subject: Re: WAR deployment incomplete (sometimes)

I've occasionally seen this on 5.5.15 on Windows, but never thought much

of it, just assuming it was a random glitch.  It seems to be more common

for me when I restart it quickly after stopping, and less often if I let

it sit for 30 seconds or so before restarting.


Michael Heinrichs wrote:

>I forgot to mention that (should it matter) I am running Tomcat 5.5.17,
>on JRE version 1.4.2_12.
>
>-----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]
>
>
>
>  
>



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