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

JMX remote for monitoring the JVM doesn't support binding to an interface

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 5.0, 6
    • core-svc

      A DESCRIPTION OF THE REQUEST :
      The jmx remote connection to the monitoring system of the JVM only allows to specify the port and not the interface on which it's listening.

      JUSTIFICATION :
      When running cluster software binding instances to a specific (virtual) interface is necessary.

      If the ports cannot be bound to a specific interface this will prevent smooth failover in the cluster.

      Also the SNMP-functionality of monitoring supports bidning to an interface.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Setting a property, for example called "com.sun.management.jmxremote. interface=localhost" would bind the JMX remote to only bind to the loopback interface.

      CUSTOMER SUBMITTED WORKAROUND :
      Twiddling around with the DNS so that the default algorithm selects the desired interface, this is however very cumbersome and quite often not practially possible.

            sjiang Shanliang Jiang (Inactive)
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: