0 Replies Latest reply on Apr 10, 2007 2:19 AM by hemant bhadane

    Connect JMX server to Jboss 4.0.5  to see the Mbeans in JCon

    hemant bhadane Newbie

      Hi All,

      I'm trying to see the MBeans of JBoss 4.0.5 in Jconsole by stpes in the given link http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMBeansInJConsole but still its not able to see Mbeans. I added the following things in run.conf file
      # Specify options to pass to the Java VM.
      #
      if [ "x$JAVA_OPTS" = "x" ]; then
      JAVA_OPTS="-Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
      fi

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

      Also JBoss starts successfully but bot able to show the Mbeans in JConsole.
      - Hemant