I'm using glassfish 2.1.1. Sometimes I get AccessControlException: access denied (javax.management.MBeanPermission com.sun.org.apache.commons.modeler.BaseModelMBean#-[com.sun.appserv:name=HttpRequest22,type=RequestProcessor,worker=http8080] registerMBean)
Any idea what's going wrong? Is there any known issue? (I can't find any.) How can I prevent this error?
[#|2010-03-17T09:31:12.081+0000|SEVERE|sun-appserver2.1|com.sun.org.apache.commons.modeler.Registry|_ThreadID=40;_ThreadName=httpSSLWorkerThread-8080-3;_RequestID=b859d7a0-e619-4672-84db-87c4f6862a98;|Error registering com.sun.appserv:type=RequestProcessor,worker=http8080,name=HttpRequest22
java.security.AccessControlException: access denied (javax.management.MBeanPermission com.sun.org.apache.commons.modeler.BaseModelMBean#-[com.sun.appserv:name=HttpRequest22,type=RequestProcessor,worker=http8080] registerMBean)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
at java.security.AccessController.checkPermission(AccessController.java:546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanPermission(DefaultMBeanServerInterceptor.java:1806)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:309)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
at com.sun.enterprise.interceptor.DynamicInterceptor.registerMBean(DynamicInterceptor.java:259)
at com.sun.org.apache.commons.modeler.Registry.registerComponent(Registry.java:872)
at com.sun.enterprise.web.connector.grizzly.GrizzlyHttpProtocol$ModelerManagement.registerComponent(GrizzlyHttpProtocol.java:964)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.registerMonitoring(DefaultProcessorTask.java:1703)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.configPreProcess(DefaultProcessorTask.java:547)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.preProcess(DefaultProcessorTask.java:530)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.preProcess(DefaultProcessorTask.java:506)
at com.sun.enterprise.web.connector.grizzly.async.DefaultAsyncExecutor.preExecute(DefaultAsyncExecutor.java:145)
at com.sun.enterprise.web.connector.grizzly.async.AsyncProcessorTask.doTask(AsyncProcessorTask.java:88)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
|#]
[#|2010-03-17T09:31:12.097+0000|WARNING|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=40;_ThreadName=httpSSLWorkerThread-8080-3;_RequestID=b859d7a0-e619-4672-84db-87c4f6862a98;|WEB0788: Error registering request
java.security.AccessControlException: access denied (javax.management.MBeanPermission com.sun.org.apache.commons.modeler.BaseModelMBean#-[com.sun.appserv:name=HttpRequest22,type=RequestProcessor,worker=http8080] registerMBean)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
at java.security.AccessController.checkPermission(AccessController.java:546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanPermission(DefaultMBeanServerInterceptor.java:1806)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:309)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
at com.sun.enterprise.interceptor.DynamicInterceptor.registerMBean(DynamicInterceptor.java:259)
at com.sun.org.apache.commons.modeler.Registry.registerComponent(Registry.java:872)
at com.sun.enterprise.web.connector.grizzly.GrizzlyHttpProtocol$ModelerManagement.registerComponent(GrizzlyHttpProtocol.java:964)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.registerMonitoring(DefaultProcessorTask.java:1703)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.configPreProcess(DefaultProcessorTask.java:547)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.preProcess(DefaultProcessorTask.java:530)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.preProcess(DefaultProcessorTask.java:506)
at com.sun.enterprise.web.connector.grizzly.async.DefaultAsyncExecutor.preExecute(DefaultAsyncExecutor.java:145)
at com.sun.enterprise.web.connector.grizzly.async.AsyncProcessorTask.doTask(AsyncProcessorTask.java:88)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
|#]