Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6881159

RFE: VisualVM should support remote jstad RMI registry on non-default port

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 6u18
    • 6u13
    • tools
    • None
    • team
    • sparc
    • solaris_10

      The scenario is as following for this RFE request.

      Customer like to monitor remote hosts, running jstatd at a non-default port.
      The default port for jstatd is 1099. So far at this port customer have running
      JBOSS instances on their default port for JNP which is the same 1099.
      It is possible to start jstatd at another port, but VisualVM can not monitor longer
      these hosts running a jstatd at another port.

      The request is. Customer need VisualVM, when a new RemoteHost will be created to monitor,
      that VisualVM will not only ask for this remote hosts IP but ask for the TCP port to connect as well.
      The default can be still 1099, but it should be changeable.

      At attachment class com.sun.jvmstat.tools.visualgc.VisualGCView is modified, contains a suggested
      fix by Andreas Loew, handling the customer onsite.
      See modified sources and JARs/NBM (for simplicity, the NBM is now unsigned) with the
      suggested changes.
      When using it, the only change needed to make it work is in visualvm.conf:

      default_options="-J-Xms24m -J-Xmx192m -J-Dnetbeans.accept_license_class=com.sun.tools.visualvm.modules.startup.AcceptLicense -J-Dsun.jvmstat.perdata.syncWaitMs=10000 -J-Dcom.sun.tools.visualvm.jvmstat.remote.port.<host>=<port>"

      e.g.

      -J-Dcom.sun.tools.visualvm.jvmstat.remote.port.optiquad=55555

            thurka Tomáš Hůrka
            arieck Andreas Rieck (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: