5 Java Discovery Protocol (JDP)

The Java Discovery Protocol (JDP) is a protocol that enables technologies, in particular, Java Mission Control and Java Flight Recorder, to discover manageable JVMs across the same network subnet.

A manageable JVM is one that has the Java Management Extensions (JMX) agent running. JDP is multicast-based and works like a beacon; it broadcasts the JMX service URL (see the class JMXServiceURL) required to connect to the external JMX agent. This enables technologies to detect JVMs that have failed or are no longer available for monitoring.

Enabling and Configuring JDP

To enable JDP, specify the following option at the command line when starting a Java application:



Enabling JDP does not affect JMX security. To enable and configure JMX security, see Monitoring and Management Using JMX Technology.

Table 5-1 describes other properties that you may set to configure JDP:

Table 5-1 JDP Properties

Property Description Default Value


Enables autodiscovery (JDP) on the network subnet



Specifies the broadcast interval in seconds



Time-to-live in seconds for autodiscovery packets



Multicast address to send autodiscovery packets


Multicast port to send autodiscovery packets. Enables autodiscovery even if the com.sun.management.jmxremote.autodiscovery property has not been set.



Broadcast name of the JVM

No default


Address of source interface to use for broadcast

Automatically assigned