1

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?

tshepang
  • 12,111
  • 21
  • 91
  • 136
user566371
  • 13
  • 2

1 Answers1

3

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.

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555