Could Not Start JIRA EAR-WAR Due to 'access denied (java.lang.RuntimePermission createClassLoader)'
Unable to render {include} The included page could not be found.
Symptoms
JIRA logs will contain the errors look like:
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader)
Cause
The problem stems from Tomcat's Security Manager preventing JIRA's classes to be executed upon startup.
Resolution
There are two ways to solve this problem:
- Turn off the Tomcat Security Manager. It is not recommended. This can be done by editing the
/etc/default/tomcat6
. The Tomcat Security should be turned off as shown example below:TOMCAT6_SECURITY=NO
- Grant all permission to JIRA by editing the catalina.policy. The catalina.policy file is normally located in
/etc/tomcat6/policy.d/
directory. Add the following line to it:grant codeBase "file:${catalina.home}/webapps/jira/-" {permission java.security.AllPermission;}
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.