简体   繁体   English

Tomcat不会取消部署一个jar

[英]Tomcat does not undeploy one jar

I am using Tomcat 5. And I am using manager application to undeploy a war file from remote. 我正在使用Tomcat5。我正在使用管理器应用程序从远程取消部署War文件。 It deletes war file and all extracted files. 它删除war文件和所有提取的文件。 But it does not delete one jar ( lib/struts.jar ) file. 但是它不会删除一个jar( lib / struts.jar )文件。 I do not know what the reason is. 我不知道是什么原因。 I need to delete all the files even if Tomcat is running. 即使Tomcat正在运行,我也需要删除所有文件。 Thanks. 谢谢。

We had this problem with Struts 1.3.8 but it was fixed in 1.3.10. 我们在Struts 1.3.8中遇到了这个问题,但在1.3.10中已修复。 If you are using the old Struts, please upgrade. 如果您使用的是旧的Struts,请升级。

Here is the related bug, 这是相关的错误,

http://issues.apache.org/struts/browse/STR-3143 http://issues.apache.org/struts/browse/STR-3143

Add antiResourceLocking="true" to your Context may help also. antiResourceLocking="true"添加到您的上下文中也可能会有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM