On 23/09/11 18:54, David Jordan wrote:
I am getting the following exception for one of my programs, but not others,
curiously.
WARN [main] (Log.java:146) - Failed to initialize JMX
java.security.AccessControlException: access denied
(javax.management.MBeanTrustPermission register)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:568)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(DefaultMBeanServerInterceptor.java:1824)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:310)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
at com.hp.hpl.jena.sparql.mgt.ARQMgt.register(ARQMgt.java:88)
at com.hp.hpl.jena.sparql.mgt.ARQMgt.init(ARQMgt.java:54)
at com.hp.hpl.jena.query.ARQ.init(ARQ.java:400)
at com.hp.hpl.jena.query.ARQ.<clinit>(ARQ.java:419)
at com.hp.hpl.jena.tdb.TDB.<clinit>(TDB.java:76)
at com.sas.hls.hoa.ontology.Database.<clinit>(Database.java:17)
at
com.sas.hls.hoa.ontology.CreateOntologySingletons.main(CreateOntologySingletons.java:20)
In what environment is this running? I've not seen it and the "access
denied" implies the app isn't being allowed to register mbeans. is this
some webapp container and might it have some sort of security on?
Andy
David Jordan
Software Developer
SAS Institute Inc.
Health& Life Sciences, Research& Development
Bldg R ▪ Office 4467
600 Research Drive ▪ Cary, NC 27513
Tel: 919 531 1233 ▪ [email protected]<mailto:[email protected]>
www.sas.com<http://www.sas.com>
SAS® … THE POWER TO KNOW®