java.security.AccessControlException: access denied ("javax.management.MBeanPermission" "oracle.jdbc.driver.OracleDiagnosabilityMBean#-[com.oracle.jdbc:name=sun.misc.Launcher$AppClassLoader (Doc ID 2140668.1)

Last updated on JULY 26, 2017

Applies to:

JDBC - Version 11.2.0.1.0 and later
Information in this document applies to any platform.

Symptoms

Java MBean connection error when using ojdbc6.jar JDBC 11.2.0.1 with JDK 1.8.

ERROR
-----------
WARNING: Error while registering Oracle JDBC Diagnosability MBean.
java.security.AccessControlException: access denied ("javax.management.MBeanPermission" "oracle.jdbc.driver.OracleDiagnosabilityMBean#-[com.oracle.jdbc:name=sun.misc.Launcher$AppClassLoader@3d4eac69,ty



Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms