You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/02/05 18:37:15 UTC
DO NOT REPLY [Bug 26691] New: -
Can't delete the webapp directory after WAR file is unpacked
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26691>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26691
Can't delete the webapp directory after WAR file is unpacked
Summary: Can't delete the webapp directory after WAR file is
unpacked
Product: Tomcat 5
Version: 5.0.18
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: Normal
Priority: Other
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: bryan.basham@sun.com
I use Ant to build a WAR file and deploy it to the webapps/ directory.
When I attempt to use undeployWebapp target after Tomcat has unpacked
the WAR file, I get the following error message:
--------------------------------------------------------------------------
[948] basham@basham: ant
Buildfile: build.xml
undeployWebapp:
[delete] Deleting directory /usr/local/jakarta/tomcat/webapps/arch1
BUILD FAILED
/usr/basham/Java/Projects/NullArchitectures/Arch1/build.xml:64: Unable to delete
file /usr/local/jakarta/tomcat/webapps/arch1/META-INF/MANIFEST.MF
Total time: 2 seconds
--------------------------------------------------------------------------
My recommendation would be to have Tomcat unpack the WAR file with the
same user/group assigned to the WAR file itself; this should solve this
problem (or at least make it easier to work around).
-Bryan
PS - I will attach a simple "null" webapp development environment that I have
used to explore this bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org