My Oracle Support Banner

Starting A Node Agent Or Instance Reports "java.security.AccessControlException: access denied (javax.management.MBeanPermission com.sun.enterprise.ee.synchronization.Synchronization#-[com.sun.appserv:category=config,type=synchronization] registerMBean)" (Doc ID 1534464.1)

Last updated on SEPTEMBER 13, 2023

Applies to:

Oracle GlassFish Server - Version 8.1 to 8.2 [Release 8.1 to 8.2]
Information in this document applies to any platform.

Symptoms

This problem can be seen with 8.1 UR2, 8.2 and 9.x/2.x.

GlassFish Server 2.x

This problem can be encountered when installing GlassFish Server from any of the installation bundles that include HADB and specifying a Java JDK 6u37 or higher.  By default these installations create an enterprise profile domain in which the Java security manager is enabled to enforce the policies in the domain's server.policy file.  The non-HADB installation bundles by default create a developer profile domain in which the security manager is not enabled.  The patch numbers associated with the file-based installation bundles that contain HADB are:

PlatformPatch
Solaris SPARC 128643
Solaris x86 128644
Linux 128645
Windows 128646

It is also possible to encounter this problem by updating the JDK version an installation is using by updating the AS_JAVA value in the <install-dir>/config/asenv.conf file and subsequently attempting to create new instances after restarting the domain administration server (DAS) and node agents (NA).  This could equally apply to package based installations, but then it is more likely to be encountered with a change to the JDK being used with an existing installation, rather than being a new installation.

The following error is reported in the node agent's server.log file:

 

Changes

Performing a clean installation of GlassFish Server 2.x with Java JDK 6u37 or higher, or updating an existing installation to use Java JDK 6u37 or higher.

Performing a clean installation of Sun Application Server 8.x with Java JDK 5u38 or higher, or updating an existing installation to use Java JDK 5u38 or higher.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
 GlassFish Server 2.x
 
 Sun Java Systems Application Server 8.1 UR2 and 8.2
Changes
Cause
Solution
 GlassFish Server 2.x
 Sun Java Systems Application Server 8.1 UR2 and 8.2
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.