0 Replies Latest reply on Oct 25, 2010 8:36 AM by Eugene Batogov

    javax.management.InstanceNotFoundException: java.lang:type=ClassLoading not registered.

    Eugene Batogov Newbie

      Hello.

      I am trying to use zabbix bridge - zapcat with JBoss-4.2.2.GA.

      My problem:

      I can't get access to java.lang space in JMX.

      I had next error:

      ----------------------

      2010-10-25 16:15:53,173 DEBUG [QueryHandler] received 'jmx[java.lang:type=ClassLoading][UnloadedClassCount]'

      2010-10-25 16:15:53,173 DEBUG [JMXHelper] JMX query[java.lang:type=ClassLoading][UnloadedClassCount]

      2010-10-25 16:15:53,173 DEBUG [QueryHandler] no bean named java.lang:type=ClassLoading

      javax.management.InstanceNotFoundException: java.lang:type=ClassLoading not registered.

      at org.jboss.mx.server.registry.BasicMBeanRegistry.getObjectInstance(BasicMBeanRegistry.java:552)

      at org.jboss.mx.server.MBeanServerImpl.getObjectInstance(MBeanServerImpl.java:437)

      at org.jboss.system.server.jmx.LazyMBeanServer.getObjectInstance(LazyMBeanServer.java:227)

      at org.kjkoster.zapcat.zabbix.JMXHelper.query(JMXHelper.java:56)

      at org.kjkoster.zapcat.zabbix.QueryHandler.response(QueryHandler.java:127)

      at org.kjkoster.zapcat.zabbix.QueryHandler.handleQuery(QueryHandler.java:87)

      at org.kjkoster.zapcat.zabbix.QueryHandler.run(QueryHandler.java:70)

      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:909)

      at java.lang.Thread.run(Thread.java:619)

      -------------------

       

      Others JMX beans works ok.

      How I may get java.lang space from JMX ?