java.security.AccessControlException: access denied". Where does it trying to connect? iportalt1:8686? There is some listening process. What credentials are missing? Does anybody has any idea what to check or debug level of what component to increase? Thanx Environment: Solaris 10 u9 zone Applied Recommended patches from February,14th 2013 Glassfish 2.1.1 p20 (128643-34) NSS_NSPR_JSS 3.13.1 patch for requested by Glassfish (119213-27) java 1.6.0 u39 das.properties: #Domain Administraion Server Connection Properties #Mon Feb 18 17:06:12 CET 2013 agent.das.protocol=rmi_jrmp agent.das.port=8686 agent.das.host=iportalt1 agent.das.isSecure=true nodeagent.properties #Node Agent Connection Properties #Mon Feb 18 17:06:12 CET 2013 agent.bind.status=BOUND agent.adminPort=48503 agent.root=/opt/SUNWappserver/nodeagents agent.protocol=rmi_jrmp agent.doNotConfirmServerCert=true agent.client.host=iportalt1 agent.adminHost=0.0.0.0 node-agent's server.log: Feb 18, 2013 5:07:04 PM com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand INFO: /usr/jdk/instances/jdk1.6.0/bin/java -Dcom.sun.aas.instanceRoot=/opt/SUNWappserver/nodeagents/iportalt1-na/agent -Dcom.sun.aas.configRoot=/opt/SUNWappserver/config -Dcom.sun.aas.defaultLogFile=/opt/SUNWappserver/nodeagents/iportalt1-na/agent/logs/server.log -Dcom.sun.aas.instanceName=iportalt1-na -Dcom.sun.aas.isNodeAgent=true -Dcom.sun.aas.promptForIdentity=true -Dcom.sun.appserv.admin.pluggable.features=com.sun.enterprise.ee.admin.pluggable.EEClientPluggableFeatureImpl -Dcom.sun.appserv.nss.db=/opt/SUNWappserver/nodeagents/iportalt1-na/agent/config -Dcom.sun.appserv.pluggable.features=com.sun.enterprise.ee.server.pluggable.EEPluggableFeatureImpl -Djava.endorsed.dirs=/opt/SUNWappserver/lib/endorsed -Djava.library.path=/opt/SUNWappserver/lib:/opt/SUNWappserver/lib:/opt/SUNWappserver/lib -Djava.security.auth.login.config=/opt/SUNWappserver/nodeagents/iportalt1-na/agent/config/login.conf -Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager -Djmx.invoke.getters=true -XX:+UnlockDiagnosticVMOptions -XX:LogFile=/opt/SUNWappserver/nodeagents/iportalt1-na/agent/logs/jvm.log -XX:+LogVMOutput -cp /opt/SUNWappserver/lib/comms-appserv-rt.jar:/opt/SUNWappserver/lib/appserv-launch.jar:/opt/SUNWappserver/lib/appserv-rt.jar:/opt/SUNWappserver/lib/appserv-ee.jar:/opt/SUNWappserver/lib/jxta.jar:/opt/SUNWappserver/lib/appserv-admin.jar:/opt/SUNWappserver/lib/appserv-ext.jar:/opt/SUNWappserver/lib/appserv-se.jar:/opt/SUNWappserver/lib/shoal-gms.jar:/opt/SUNWappserver/lib/javaee.jar com.sun.enterprise.ee.nodeagent.NodeAgentMain start startInstancesOverride=NOTSET syncInstances=false monitorInterval=5 restartInstances=true [#|2013-02-18T17:07:05.333+0100|INFO|sun-appserver2.1.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NAGT0025:The node agent could not configure logging levels. Default logging level will be used.|#] [#|2013-02-18T17:07:15.007+0100|SEVERE|sun-appserver2.1.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NAGT0030:There was an unknown error while communicating with Domain Administration Server (DAS). The actual exception stack trace follows ... java.security.AccessControlException: access denied (javax.management.MBeanPermission com.sun.enterprise.ee.synchronization.Synchronization#-[com.sun.appserv:category=config,type=synchronization] registerMBean)

Oracle Community | milos1av | 4 years ago
  1. 0

    Sun Glassfish Enterprise Server 2.1.1 - can not start node-agent - please help to find the reason

    Oracle Community | 4 years ago | milos1av
    java.security.AccessControlException: access denied". Where does it trying to connect? iportalt1:8686? There is some listening process. What credentials are missing? Does anybody has any idea what to check or debug level of what component to increase? Thanx Environment: Solaris 10 u9 zone Applied Recommended patches from February,14th 2013 Glassfish 2.1.1 p20 (128643-34) NSS_NSPR_JSS 3.13.1 patch for requested by Glassfish (119213-27) java 1.6.0 u39 das.properties: #Domain Administraion Server Connection Properties #Mon Feb 18 17:06:12 CET 2013 agent.das.protocol=rmi_jrmp agent.das.port=8686 agent.das.host=iportalt1 agent.das.isSecure=true nodeagent.properties #Node Agent Connection Properties #Mon Feb 18 17:06:12 CET 2013 agent.bind.status=BOUND agent.adminPort=48503 agent.root=/opt/SUNWappserver/nodeagents agent.protocol=rmi_jrmp agent.doNotConfirmServerCert=true agent.client.host=iportalt1 agent.adminHost=0.0.0.0 node-agent's server.log: Feb 18, 2013 5:07:04 PM com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand INFO: /usr/jdk/instances/jdk1.6.0/bin/java -Dcom.sun.aas.instanceRoot=/opt/SUNWappserver/nodeagents/iportalt1-na/agent -Dcom.sun.aas.configRoot=/opt/SUNWappserver/config -Dcom.sun.aas.defaultLogFile=/opt/SUNWappserver/nodeagents/iportalt1-na/agent/logs/server.log -Dcom.sun.aas.instanceName=iportalt1-na -Dcom.sun.aas.isNodeAgent=true -Dcom.sun.aas.promptForIdentity=true -Dcom.sun.appserv.admin.pluggable.features=com.sun.enterprise.ee.admin.pluggable.EEClientPluggableFeatureImpl -Dcom.sun.appserv.nss.db=/opt/SUNWappserver/nodeagents/iportalt1-na/agent/config -Dcom.sun.appserv.pluggable.features=com.sun.enterprise.ee.server.pluggable.EEPluggableFeatureImpl -Djava.endorsed.dirs=/opt/SUNWappserver/lib/endorsed -Djava.library.path=/opt/SUNWappserver/lib:/opt/SUNWappserver/lib:/opt/SUNWappserver/lib -Djava.security.auth.login.config=/opt/SUNWappserver/nodeagents/iportalt1-na/agent/config/login.conf -Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager -Djmx.invoke.getters=true -XX:+UnlockDiagnosticVMOptions -XX:LogFile=/opt/SUNWappserver/nodeagents/iportalt1-na/agent/logs/jvm.log -XX:+LogVMOutput -cp /opt/SUNWappserver/lib/comms-appserv-rt.jar:/opt/SUNWappserver/lib/appserv-launch.jar:/opt/SUNWappserver/lib/appserv-rt.jar:/opt/SUNWappserver/lib/appserv-ee.jar:/opt/SUNWappserver/lib/jxta.jar:/opt/SUNWappserver/lib/appserv-admin.jar:/opt/SUNWappserver/lib/appserv-ext.jar:/opt/SUNWappserver/lib/appserv-se.jar:/opt/SUNWappserver/lib/shoal-gms.jar:/opt/SUNWappserver/lib/javaee.jar com.sun.enterprise.ee.nodeagent.NodeAgentMain start startInstancesOverride=NOTSET syncInstances=false monitorInterval=5 restartInstances=true [#|2013-02-18T17:07:05.333+0100|INFO|sun-appserver2.1.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NAGT0025:The node agent could not configure logging levels. Default logging level will be used.|#] [#|2013-02-18T17:07:15.007+0100|SEVERE|sun-appserver2.1.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NAGT0030:There was an unknown error while communicating with Domain Administration Server (DAS). The actual exception stack trace follows ... java.security.AccessControlException: access denied (javax.management.MBeanPermission com.sun.enterprise.ee.synchronization.Synchronization#-[com.sun.appserv:category=config,type=synchronization] registerMBean)
  2. 0

    SEVERE: Error while registering Oracle JDBC Dia... | Oracle Community

    oracle.com | 11 months ago
    java.security.AccessControlException: access denied (javax.management.MBeanTrustPermission register)
  3. 0

    Error registering MBean[Ebean:server=RealisticChat2] caudron 1.7.10 forge 1240 realisticchat_1.0.1

    GitHub | 2 years ago | Hoijima
    java.security.AccessControlException: access denied ("javax.management.MBeanTrustPermission" "register")
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can't load oracle.jdbc.driver.OracleDriver in groovysh?

    Stack Overflow | 5 years ago | jsumners
    java.security.AccessControlException: access denied (javax.management.MBeanTrustPermission register)
  6. 0

    WARNING: Failed to register info bean:

    Stack Overflow | 3 years ago | Isha
    java.security.AccessControlException: access denied (javax.management.MBeanTrustPermission register)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.security.AccessControlException

      access denied". Where does it trying to connect? iportalt1:8686? There is some listening process. What credentials are missing? Does anybody has any idea what to check or debug level of what component to increase? Thanx Environment: Solaris 10 u9 zone Applied Recommended patches from February,14th 2013 Glassfish 2.1.1 p20 (128643-34) NSS_NSPR_JSS 3.13.1 patch for requested by Glassfish (119213-27) java 1.6.0 u39 das.properties: #Domain Administraion Server Connection Properties #Mon Feb 18 17:06:12 CET 2013 agent.das.protocol=rmi_jrmp agent.das.port=8686 agent.das.host=iportalt1 agent.das.isSecure=true nodeagent.properties #Node Agent Connection Properties #Mon Feb 18 17:06:12 CET 2013 agent.bind.status=BOUND agent.adminPort=48503 agent.root=/opt/SUNWappserver/nodeagents agent.protocol=rmi_jrmp agent.doNotConfirmServerCert=true agent.client.host=iportalt1 agent.adminHost=0.0.0.0 node-agent's server.log: Feb 18, 2013 5:07:04 PM com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand INFO: /usr/jdk/instances/jdk1.6.0/bin/java -Dcom.sun.aas.instanceRoot=/opt/SUNWappserver/nodeagents/iportalt1-na/agent -Dcom.sun.aas.configRoot=/opt/SUNWappserver/config -Dcom.sun.aas.defaultLogFile=/opt/SUNWappserver/nodeagents/iportalt1-na/agent/logs/server.log -Dcom.sun.aas.instanceName=iportalt1-na -Dcom.sun.aas.isNodeAgent=true -Dcom.sun.aas.promptForIdentity=true -Dcom.sun.appserv.admin.pluggable.features=com.sun.enterprise.ee.admin.pluggable.EEClientPluggableFeatureImpl -Dcom.sun.appserv.nss.db=/opt/SUNWappserver/nodeagents/iportalt1-na/agent/config -Dcom.sun.appserv.pluggable.features=com.sun.enterprise.ee.server.pluggable.EEPluggableFeatureImpl -Djava.endorsed.dirs=/opt/SUNWappserver/lib/endorsed -Djava.library.path=/opt/SUNWappserver/lib:/opt/SUNWappserver/lib:/opt/SUNWappserver/lib -Djava.security.auth.login.config=/opt/SUNWappserver/nodeagents/iportalt1-na/agent/config/login.conf -Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager -Djmx.invoke.getters=true -XX:+UnlockDiagnosticVMOptions -XX:LogFile=/opt/SUNWappserver/nodeagents/iportalt1-na/agent/logs/jvm.log -XX:+LogVMOutput -cp /opt/SUNWappserver/lib/comms-appserv-rt.jar:/opt/SUNWappserver/lib/appserv-launch.jar:/opt/SUNWappserver/lib/appserv-rt.jar:/opt/SUNWappserver/lib/appserv-ee.jar:/opt/SUNWappserver/lib/jxta.jar:/opt/SUNWappserver/lib/appserv-admin.jar:/opt/SUNWappserver/lib/appserv-ext.jar:/opt/SUNWappserver/lib/appserv-se.jar:/opt/SUNWappserver/lib/shoal-gms.jar:/opt/SUNWappserver/lib/javaee.jar com.sun.enterprise.ee.nodeagent.NodeAgentMain start startInstancesOverride=NOTSET syncInstances=false monitorInterval=5 restartInstances=true [#|2013-02-18T17:07:05.333+0100|INFO|sun-appserver2.1.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NAGT0025:The node agent could not configure logging levels. Default logging level will be used.|#] [#|2013-02-18T17:07:15.007+0100|SEVERE|sun-appserver2.1.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NAGT0030:There was an unknown error while communicating with Domain Administration Server (DAS). The actual exception stack trace follows ... java.security.AccessControlException: access denied (javax.management.MBeanPermission com.sun.enterprise.ee.synchronization.Synchronization#-[com.sun.appserv:category=config,type=synchronization] registerMBean)

      at java.security.AccessControlContext.checkPermission()
    2. Java RT
      JmxMBeanServer.registerMBean
      1. java.security.AccessControlContext.checkPermission(AccessControlContext.java:374)
      2. java.security.AccessController.checkPermission(AccessController.java:549)
      3. java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
      4. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanPermission(DefaultMBeanServerInterceptor.java:1806)
      5. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:309)
      6. com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
      6 frames
    3. com.sun.enterprise
      DynamicInterceptor.getClassLoaderFor
      1. com.sun.enterprise.interceptor.DynamicInterceptor.registerMBean(DynamicInterceptor.java:259)
      2. com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.registerMBean(SunoneInterceptor.java:276)
      3. com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.manufactureAndRegisterMBean(SunoneInterceptor.java:667)
      4. com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.registerWithPersistenceCheck(SunoneInterceptor.java:692)
      5. com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.getClassLoaderFor(SunoneInterceptor.java:576)
      6. com.sun.enterprise.interceptor.DynamicInterceptor.getClassLoaderFor(DynamicInterceptor.java:562)
      6 frames
    4. Java RT
      RMIConnector$RemoteMBeanServerConnection.invoke
      1. javax.management.remote.rmi.RMIConnectionImpl$5.run(RMIConnectionImpl.java:1351)
      2. java.security.AccessController.doPrivileged(Native Method)
      3. javax.management.remote.rmi.RMIConnectionImpl.getClassLoaderFor(RMIConnectionImpl.java:1347)
      4. javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:801)
      5. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      6. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      7. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      8. java.lang.reflect.Method.invoke(Method.java:597)
      9. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303)
      10. sun.rmi.transport.Transport$1.run(Transport.java:159)
      11. java.security.AccessController.doPrivileged(Native Method)
      12. sun.rmi.transport.Transport.serviceCall(Transport.java:155)
      13. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
      14. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
      15. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
      16. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      17. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      18. java.lang.Thread.run(Thread.java:662)
      19. sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
      20. sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
      21. sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
      22. com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
      23. javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown Source)
      24. javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993)
      24 frames
    5. com.sun.enterprise
      MBeanServerProxy.invoke
      1. com.sun.enterprise.ee.admin.proxy.MBeanServerProxy.invoke(MBeanServerProxy.java:148)
      1 frame
    6. Unknown
      $Proxy0.ping
      1. $Proxy0.ping(Unknown Source)
      1 frame
    7. com.sun.enterprise
      NodeAgentMain.main
      1. com.sun.enterprise.ee.synchronization.PingCommand.execute(PingCommand.java:93)
      2. com.sun.enterprise.ee.synchronization.BaseSynchronizationDriver.synchronizeInternal(BaseSynchronizationDriver.java:168)
      3. com.sun.enterprise.ee.synchronization.BaseSynchronizationDriver.synchronize(BaseSynchronizationDriver.java:129)
      4. com.sun.enterprise.ee.nodeagent.NodeAgent.synchronizeWithDASInternal(NodeAgent.java:640)
      5. com.sun.enterprise.ee.nodeagent.NodeAgent.synchronizeWithDASInternal(NodeAgent.java:597)
      6. com.sun.enterprise.ee.nodeagent.BaseNodeAgent.run(BaseNodeAgent.java:170)
      7. com.sun.enterprise.ee.nodeagent.NodeAgentMain.startup(NodeAgentMain.java:277)
      8. com.sun.enterprise.ee.nodeagent.NodeAgentMain.main(NodeAgentMain.java:428)
      8 frames