Could Not Start JIRA EAR-WAR Due to 'access denied (java.lang.RuntimePermission createClassLoader)'

Still need help?

The Atlassian Community is here for you.

Ask the community

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:

  1. 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
  2. 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

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.