This documentation relates to an early version of Confluence.
View this page in the current documentation or visit the current documentation home.

Known Issues with Enterprise or Webhosting environments

All Versions
Click for all versions
Confluence 2.5.4 to 2.5.8 Documentation

Index

When you attempt to run Confluence, you may get the following error:

java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers)
        at java.security.AccessControlContext.checkPermission(AccessControlContext.java(Compiled Code))
        at java.security.AccessController.checkPermission(AccessController.java(Compiled Code))
        at java.lang.SecurityManager.checkPermission(SecurityManager.java(Compiled Code))

Some of the libraries Confluence relies on to function make use of features of the Java language that may be restricted by Java security policies. This does not normally cause any problems: the default security configuration of most application servers will happily run Confluence. However, in some shared-hosting or enterprise environments, security settings may be such that Confluence can not function.

The permissions required by Confluence to run are detailed in the sample policy file below. You may need to give this information to your systems administrator so that they can be deployed with the Confluence application.

grant codeBase "file:${catalina.home}/webapps/confluence/-" {
permission java.security.AllPermission;
};

grant {
permission java.lang.RuntimePermission "accessDeclaredMembers";
permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
permission java.lang.RuntimePermission "defineCGLIBClassInJavaPackage";
};
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.