OIM 11gR2PS3 : Error “java.security.AccessControlException: access denied (“javax.management.MBeanTrustPermission” “register”)” while integrate OAM – OIM

Problem :
User getting error “java.security.AccessControlException: access denied (“javax.management.MBeanTrustPermission” “register”)” while running “idmConfigTool.sh -configOIM input_file=OIMconfigPropertyFile” for OAM-OIM integration.

./idmConfigTool.sh -configOIM input_file=/data/oracle/property_files/OIMconfigPropertyFile.txt
Enter oam11g domain admin user password :
Enter sso access gate password :
Enter mds db schema password :
Enter idstore admin password :
Enter admin server user password :
Seeding OIM Resource Policies into OAM....
Resources Seeded!!

********* Activating OAM Notifications *********

Completed loading user inputs for - MDS DB Config

Jul 13, 2017 4:58:34 AM oracle.as.jmx.framework.LoggerHelper log
SEVERE: Error initializing the JMX FRamework SPI "oracle.as.jmx.framework.standardmbeans.spi.JMXFrameworkProviderImpl"
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at oracle.idm.automation.AutomationTool.main(AutomationTool.java:159)
Caused by: java.lang.IllegalStateException: access denied ("javax.management.MBeanTrustPermission" "register")

... 43 more
Caused by: java.security.AccessControlException: access denied ("javax.management.MBeanTrustPermission" "register")
 at java.security.AccessControlContext.checkPermission(AccessControlContext.java:372)
 ... 45 more

Jul 13, 2017 4:58:35 AM oracle.jdbc.driver.OracleDriver registerMBeans
WARNING: Error while registering Oracle JDBC Diagnosability MBean.
java.security.AccessControlException: access denied ("javax.management.MBeanTrustPermission" "register")
 at oracle.idm.automation.AutomationTool.main(AutomationTool.java:159)


Cause :
The driver registers the MBean using the standard Java APIs and it requires the permission. In order to run correctly the driver code base requires this permission.


Add the following lines to java.policy file under JAVA_HOME/jre/lib/security

grant {
permission javax.management.MBeanTrustPermission "register";


Reference :  Doc ID 1229803.1


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s