tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: WAR deployment incomplete (sometimes)
Date Wed, 09 May 2007 15:37:21 GMT
try 
%CATALINA_HOME%\conf\context.xml
<Context antiJARLocking="true" antiResourceLocking="true">

link courtesy of erik burke
http://stuffthathappens.com/blog/2006/01/18/tomcat-hot-deployment/

HTH/
M--
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" <michael.heinrichs@klocwork.com>
To: <users@tomcat.apache.org>
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
solution?

Thanks,

Mike




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message