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: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 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] [EMAIL PROTECTED]: 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]