简体   繁体   English

在Tomcat 7上取消部署失败

[英]Undeploy fails on Tomcat 7

I am trying to undeploy an application manually by going into Tomcat Manager and clicking on "Stop" and then on "Undeploy" but it gives me following message: 我试图通过进入Tomcat Manager并单击“停止”,然后单击“取消部署”来手动取消部署应用程序,但是它给了我以下消息:

FAIL - Unable to delete [C:\apache-tomcat-7.0-standalone\webapps\istore-tax-service]. The continued presence of this file may cause problems.

Is this a bug in Tomcat 7? 这是Tomcat 7中的错误吗?

No. It is an application bug. 不,这是一个应用程序错误。 Something in the application is opening a file and not closing it. 应用程序中的某些内容正在打开文件,而不是关闭文件。 That locks the file preventing it from being deleted. 这将锁定文件,防止其被删除。

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

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