How to grant AllPermission to not extracted war file in tomcat
- by André
Hello,
I'm developing a web application and have created a war file. If I deploy it to my tomcat server, it is used without being unpacked (which is the setting I want to have for this server).
For unpacked web apps I have a policy file to grant AllPermission to my application
grant codeBase "file:${catalina.base}/webapps/tc/-" {
permission java.security.AllPermission;
};
But what has the codeBase to be for unpacked war files?
Thanks,
André