1 Reply Latest reply: Apr 12, 2010 1:49 PM by 843798 RSS

    not able to create jmx conection in visualvm tool

    843798
      Hi guys,

      I want to monitore a server(LINUX) from widnows with the help of visualvm.i added all the 3 options eg: jmx port, authentication, and ssl option to startp.sh file.
      Even after doing in once i connect i get same error as can not connect to server using service jmx:rmi...........

      following aer the option -Djava.rmi.server.hostname=server ip\
      -Dcom.sun.management.jmxremote.port=8501 \
      -Dcom.sun.management.jmxremote.ssl=false \
      -Dcom.sun.management.jmxremote.authenticate=false"
      i added the port no to iptables and restarted.


      Both my mahchine and linux serevers are in the same domain,
      Any network related setting i need to do.

      PLease help me in this.

      Thanks !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
        • 1. Re: not able to create jmx conection in visualvm tool
          843798
          Hi,
          I need more information. How do you specify the connection to your server in VisualVM? Can telnet to your Linux server on port 8501 from your Windows machine? Note that JMX RMI connector opens two ports: one is for the RMI registry, and it's the port that you usually supply with the -Dcom.sun.management.jmxremote.port=<port> property. The other port is used to export JMX RMI connection objects. This second port is usually dynamically allocated at random. This could be a problem if you are running iptables. Try to disable it to see if it solves your problem.