0 Replies Latest reply on Sep 11, 2014 11:33 AM by madhusudhanraju_26

    How to add local JBoss EAP 6.0.1running as windows service to JVisualVM

    madhusudhanraju_26

      Hi,

       

      I am using JBoss EAP v6.0.1 running as a service and Java version 1.7.0_67 on Windows machine.

       

      I want to monitor the JBoss JVM stats in JVisualVM tool on the same machine, i added below startup params to standalone.xml file and when i tried to add as local JMX connection i am getting below error:

       

      Cannot connect to <hostname>:9999 using service:jmx:rmi:///jndi/rmi://<hostname>:9999/jmxrmi

       

      System properties:

       

      <property name="-Dcom.sun.management.jmxremote.local.only" value="true"/>
         <property name="-Dcom.sun.management.jmxremote.port" value="9999"/>
         <property name="-Dcom.sun.management.jmxremote.authenticate" value="false"/>
         <property name="-Dcom.sun.management.jmxremote.ssl" value="false"/>
         <property name="-Djava.rmi.server.hostname" value="<hostname"/>

       

      Please help me with this...

       

      Thanks in advance.