This content has been marked as final.
Show 2 replies
-
1. Re: Arquillian test case fails due to unsuccessful undeployment
aslak Oct 6, 2013 12:59 AM (in response to yasharbi)Any indications in the logs or similar as to why it fails to delete the file?
Windows holding a file lock or something?
-
2. Re: Arquillian test case fails due to unsuccessful undeployment
vbaghdas Jan 27, 2017 5:18 AM (in response to yasharbi)Hello, yashar,
the question is very old, but nevertheless ...
I had the same problem with Remote Tomcat.
The solution was ro add "antiJarLocking="true" antiResourceLocking="true"" attributes into the Context element of the context.xml file under CATALINA_HOME/conf. Like this:
<Context antiJarLocking="true" antiResourceLocking="true">
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>
</Context>