[jboss-jira] [JBoss JIRA] Created: (JBMESSAGING-1083) Privileged Blocks to deal with MBean Server

Anil Saldhana (JIRA) jira-events at lists.jboss.org
Thu Sep 27 12:18:41 EDT 2007


Privileged Blocks to deal with MBean Server
-------------------------------------------

                 Key: JBMESSAGING-1083
                 URL: http://jira.jboss.com/jira/browse/JBMESSAGING-1083
             Project: JBoss Messaging
          Issue Type: Bug
            Reporter: Anil Saldhana
         Assigned To: Tim Fox
             Fix For: 1.4.0.GA


Typically you will need permissions to interact with the MBean Server directly.

=====================
java.security.AccessControlException: access denied (javax.management.MBeanPermission org.jboss.mx.modelmbean.XMBean#Instance[jboss.messaging.destination:name=DLQ,service=Queue] getAttribute)
        at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
        at java.security.AccessController.checkPermission(AccessController.java:427)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
        at org.jboss.mx.server.MBeanServerImpl.checkMBeanPermission(MBeanServerImpl.java:1715)
        at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:551)
        at org.jboss.jms.server.ServerPeer.getDefaultDLQInstance(ServerPeer.java:1104)
        at org.jboss.jms.server.endpoint.ServerSessionEndpoint.<init>(ServerSessionEndpoint.java:209)
        at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.createSessionDelegate(ServerConnectionEndpoint.java:242)
======================

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list