3 Replies Latest reply on Oct 5, 2006 6:34 AM by kirhgoff

    JDK5.0 JMX Agent conflit

      I am attempting to use the jconsole tool in jdk5.0 to monitor JBoss. The first step is to use the -Dcom.sun.management.jmxremote option on the java command to activate the VM JMX agent. JBoss (3.2.6 and 4.0.0) throws an exception on startup:

      11:43:22,010 ERROR [MainDeployer] Initialization failed jboss.system:service=MainDeployer
      org.jboss.util.NestedRuntimeException: Error creating MBeanProxy: jboss.system:type=ServerConfig; - nested throwable: (javax.management.InstanceNotFoundException: jboss.system:type=ServerConfig)
      at org.jboss.mx.util.MBeanProxyExt.(MBeanProxyExt.java:77)
      ....

      I assume this is caused by some sort of conflict between the j2se5.0 JMX implementation and the JBossMX implementation. Are there any known work arounds for this? I noticed that jdk5.0 issues are on the agenda for 3.2.7, is this one of them?

      Regards,
      Peter Yuill