开发者

use tomcat6's manager to undeploy play app ,but failed

开发者 https://www.devze.com 2023-02-14 11:10 出处:网络
We deploy our webappin tomcat6. it develop with play!framework.we want to use tomcat6\'s manage to deploy or undeploy app开发者_如何学JAVA.but undeploy failed,tomcat cant\'t delete app directory clean

We deploy our webapp in tomcat6. it develop with play!framework. we want to use tomcat6's manage to deploy or undeploy app开发者_如何学JAVA.but undeploy failed,tomcat cant't delete app directory clean.because has a play.jar in using .i think because play.jar excuting a job...

How to resolve it?


Set the antiResourceLocking attribute of the webapp's <Context> element to true.

<Context antiResourceLocking="true">

You can provide this in a /META-INF/context.xml file. See also this documentation.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号