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

726 Views Asked by At

We deploy our webapp in tomcat6. it develop with play!framework. we want to use tomcat6's manage to deploy or undeploy app.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?

1

There are 1 best solutions below

0
On BEST ANSWER

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.