Created attachment 1139829[details]
reproducer project
Description of problem:
Getting "javax.management.JMRuntimeException: JBAS011360: Unauthorized access" when invoking MBeanServer operations. This only happens if the java security manager is enabled.
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
See "README.txt" in reproducer
Actual results:
Caused by: javax.management.JMRuntimeException: JBAS011360: Unauthorized access
at org.jboss.as.jmx.PluggableMBeanServerImpl.authorizeSensitiveOperation(PluggableMBeanServerImpl.java:1177)
at org.jboss.as.jmx.PluggableMBeanServerImpl.registerMBean(PluggableMBeanServerImpl.java:893)
Expected results:
no exception :)
Additional info:
Created attachment 1139829 [details] reproducer project Description of problem: Getting "javax.management.JMRuntimeException: JBAS011360: Unauthorized access" when invoking MBeanServer operations. This only happens if the java security manager is enabled. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: See "README.txt" in reproducer Actual results: Caused by: javax.management.JMRuntimeException: JBAS011360: Unauthorized access at org.jboss.as.jmx.PluggableMBeanServerImpl.authorizeSensitiveOperation(PluggableMBeanServerImpl.java:1177) at org.jboss.as.jmx.PluggableMBeanServerImpl.registerMBean(PluggableMBeanServerImpl.java:893) Expected results: no exception :) Additional info: