How to grant AllPermission to not extracted war file in tomcat
Posted
by André
on Stack Overflow
See other posts from Stack Overflow
or by André
Published on 2010-03-19T08:00:04Z
Indexed on
2010/03/19
8:01 UTC
Read the original article
Hit count: 520
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é
© Stack Overflow or respective owner