You may also put this in a file like /etc/tomcat6/policy.d/99custom-fixes.policy :
grant codeBase "file:${catalina.home}/bin/tomcat-juli.jar" { permission java.lang.RuntimePermission "setContextClassLoader"; };
... does the job without too widely opening security.
You may also put this in a file like /etc/tomcat6/ policy. d/99custom- fixes.policy :
grant codeBase "file:$ {catalina. home}/bin/ tomcat- juli.jar" { RuntimePermissi on "setContextClas sLoader" ;
permission java.lang.
};
... does the job without too widely opening security.