When I try to deploy JAMonAPI on JBoss 4.3 EAP it throws this error:
(main:) Exception sending context initialized event to listener instance of class com.jamonapi.distributed.JamonServletContextListener
java.lang.RuntimeException: javax.management.NotCompliantMBeanException: Class does not expose a management interface: java.lang.Object
at com.jamonapi.jmx.JmxUtils.registerMbeans(JmxUtils.java:106)
at com.jamonapi.jmx.JmxUtils.registerMbeans(JmxUtils.java:87)
at com.jamonapi.distributed.JamonServletContextListener.addJmxBeans(JamonServletContextListener.java:42)
at com.jamonapi.distributed.JamonServletContextListener.contextInitialized(JamonServletContextListener.java:29)
I do have this property set:
-Djboss.platform.mbeanserver=true
However, I do not have any remote jmx enabled.
Any idea?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
When I try to deploy JAMonAPI on JBoss 4.3 EAP it throws this error:
(main:) Exception sending context initialized event to listener instance of class com.jamonapi.distributed.JamonServletContextListener
java.lang.RuntimeException: javax.management.NotCompliantMBeanException: Class does not expose a management interface: java.lang.Object
at com.jamonapi.jmx.JmxUtils.registerMbeans(JmxUtils.java:106)
at com.jamonapi.jmx.JmxUtils.registerMbeans(JmxUtils.java:87)
at com.jamonapi.distributed.JamonServletContextListener.addJmxBeans(JamonServletContextListener.java:42)
at com.jamonapi.distributed.JamonServletContextListener.contextInitialized(JamonServletContextListener.java:29)
I do have this property set:
-Djboss.platform.mbeanserver=true
However, I do not have any remote jmx enabled.
Any idea?
i am not familiar with jboss. What version of jdk are you using?
Here is a link that might be helfpul. http://stackoverflow.com/questions/5784551/managed-mbeans-from-managementfactory-in-jdk1-6-notcompliantmbeanexception
https://developer.jboss.org/wiki/JBossMBeansInJConsole
Look at those and see if you can get back to anything for me. I should be able to look at it in more detail next week too.
Steve