1 Reply Latest reply on Nov 4, 2008 11:02 PM by shueri lin

    jconsole problem with JDK1.6

    Wolfgang Schneider Newbie

      I'm running JBoss 4.2.2.GA (just the standard distribution, no other applications deployed) with Sun JDK1.6.0_10.
      The platform MBean server is enabled with

      JAVA_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"
      JAVA_OPTS="$JAVA_OPTS -Djboss.platform.mbeanserver -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl"

      in the run.conf file in the bin directory., as described in the Wiki.

      JConsole does show the JBoss MBeans in the console's MBean Tab, but all other Tabs (Memory, Threads, ..etc) are greyed out and unavailable.
      When I use the JBoss MBean server, removing the jboss.platform.mbeanserver option, those tabs are available, but of course the JBoss MBeans are not shown.

      JRockit1.6 shows the same behaviour.

        • 1. Re: jconsole problem with JDK1.6
          shueri lin Newbie

          i meet the same problem too, however i found it's work on jdk 1.6.06 not work on jdk 1.6.07 and 1.6.10

          1. set java_opts = -Djboss.platform.mbeanserver -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9998 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false

          2. execute run
          3. execute jconsole
          4. you may chooose local or remote (localhost:9998)