How can I set antiResourceLocking="true"
for embedded tomcat 8?
I don't find any method for this.
I use embedded tomcat 8.5.8.
Cast your org.apache.catalina.Context
object to org.apache.catalina.core.StandardContext
and then call StandardContext#setAntiResourceLocking(true)
.