0 Replies Latest reply on Aug 16, 2010 1:09 PM by drwschneider

    Issue with JRockit Mission Control 4.0.1

    drwschneider

      Hello,

       

      I'm trying to use JRockit Mission Control 4.0.1 with JBoss4.2.3.GA  on a Linux x86_64 box. JBoss runs fine with JRockit, and I can use all features

      of MC like MemLeak and FlightRecorder when run.conf contains the settings

       

      -Xmanagement:ssl=false,authenticate=false,autodiscovery=true,port=1167

       

      But when JBoss uses the platform MBean server, i.e. when

       

      -Djboss.platform.mbeanserver -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl

       

      is added to run.conf, MC fails to connect to the JRockit VM running JBoss. Unfortunately, I need this configuration for

      JBossWS.

       

      The error message from MC is

       

      javax.management.InstanceNotFoundException: java.lang:type=Runtime is not registered.
          at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:523)
          at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:550)
          at org.jboss.system.server.jmx.LazyMBeanServer.getAttribute(LazyMBeanServer.java:262)
          at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1404)

       

       

      but in the JBoss JMX Console the MBean java.lang:type=Runtime is visible and has the attributes to be expected.

       

      Thanks for your help.

       

      Regards

       

      Wolfgang