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

JDP not working on some windows configurations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 9
    • hotspot
    • None
    • svc
    • b115
    • x86_64
    • windows_7

      JDP does not seem to work in JDK9. I started JConsole with the following command:

      <JDK8u60>\bin\java -Dcom.sun.management.jmxremote.port=7091 -Dcom.sun.management.jmxremote.rmi.port=7091 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.autodiscovery=true -Dcom.sun.management.jdp.name=MyCluster/MyJVM -jar <JDK8u60>\lib\jconsole.jar

      That worked, i.e. the JVM appeared in the JVM Browser of Java Mission Control. But if I started JConsole with JDK9 (see below), JMC did not find find anything with JDP.

      <JDK9-106>\bin\java -Dcom.sun.management.jmxremote.port=7091 -Dcom.sun.management.jmxremote.rmi.port=7091 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.autodiscovery=true -Dcom.sun.management.jdp.name=MyCluster/MyJVM -jar <JDK8u60>\lib\jconsole.jar

      I've also checked the network traffic with Wireshark: there is no UDP or ICMP packet with JDP information when starting a JDK9 JVM, but I found it when starting on 8u60.

            dsamersoff Dmitriy Samersoff
            pkroon Per Kroon (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: