java.security.AccessControlException: access denied (javax.management.MBeanPermission weblogic.management.configuration.DomainMBeanImpl#-[com.bea:Name=base_domain,Type=Domain] addNotificationListener)

Oracle Community | 666705 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    weblogic.Deployer gets AccessControlExceptions

    Oracle Community | 1 decade ago | 666705
    java.security.AccessControlException: access denied (javax.management.MBeanPermission weblogic.management.configuration.DomainMBeanImpl#-[com.bea:Name=base_domain,Type=Domain] addNotificationListener)

    Root Cause Analysis

    1. java.security.AccessControlException

      access denied (javax.management.MBeanPermission weblogic.management.configuration.DomainMBeanImpl#-[com.bea:Name=base_domain,Type=Domain] addNotificationListener)

      at java.security.AccessControlContext.checkPermission()
    2. Java RT
      RMIConnectionImpl_WLSkel.invoke
      1. java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
      2. java.lang.SecurityManager.checkPermission(SecurityManager.java:568)
      3. com.sun.jmx.remote.internal.ServerNotifForwarder.checkMBeanPermission(ServerNotifForwarder.java:250)
      4. com.sun.jmx.remote.internal.ServerNotifForwarder.addNotificationListener(ServerNotifForwarder.java:68)
      5. javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1444)
      6. javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
      7. javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
      8. java.security.AccessController.doPrivileged(Native Method)
      9. javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1348)
      10. javax.management.remote.rmi.RMIConnectionImpl.addNotificationListeners(RMIConnectionImpl.java:956)
      11. javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
      11 frames
    3. weblogic.rmi.internal
      BasicServerRef$1.run
      1. weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:517)
      2. weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:407)
      2 frames
    4. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
      1 frame
    5. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
      1 frame
    6. weblogic.rmi.internal
      BasicServerRef$BasicExecuteRequest.run
      1. weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:403)
      2. weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:56)
      3. weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:934)
      3 frames
    7. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
      2 frames