I am trying to deploy a Tomcat 5.5 application on Debian Lenny. I get the following exception:
java.security.AccessControlException: access denied (java.io.FilePermission /usr/share/java/jsp-api-2.0.jar read)
I'm not sure what to do.
Decision
Add the following line to / etc / tomcat 5.5 / policy.d / 04webapps.policy:
grant codeBase "file:/var/lib/tomcat5.5/webapps/mywebapp/-" { permission java.security.AllPermission; };
source share