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. ({include} をレンダリングできません。ページが見つかりませんでした)] を選択し、

症状

JIRA logs will contain the errors look like:


Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader)

原因

The problem stems from Tomcat's Security Manager preventing JIRA's classes to be executed upon startup.

ソリューション

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

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.