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

Java Discovery Protocol docs refer to incorrect property

XMLWordPrintable

        The table in the Monitoring and Management Guide (chapter 5, JDP) states the property -Dcom.sun.management.jmxremote.autodiscovery=true is used to turn on JDP, and that is correct.

        https://docs.oracle.com/en/java/javase/19/management/java-discovery-protocol.html

        But in a table, it then specifies:
        -Dcom.sun.management.autodiscovery
        Enables autodiscovery (JDP) on the network subnet

        ..but that clearly should be com.sun.management.jmxremote.autodiscovery

        All the other Properties are correctly com.sun.management.jdp.... Only com.sun.management.jmxremote.autodiscovery is different.

        Also, in the table entry for "com.sun.management.jdp.port", we say:
        Multicast port to send autodiscovery packets. Enables autodiscovery even if the com.sun.management.autodiscovery property has not been set.

        ...which should be "if the com.sun.management.jmxremote.autodiscovery property has not been set."

              ssatish Savitha Satish
              kevinw Kevin Walls
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: