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

JMXServiceURL like service:jmx:rmi:///jndi/iiop:// should be rejected by the RMI conn provider.

XMLWordPrintable

    • b01
    • generic
    • generic
    • Verified

        URL of the form service:jmx:rmi:///jndi/iiop://... are incorrect, but somehow used to work in some cases for JDK 5.
        They no longer work in JDK 6 - but the exception message that gets thrown is very confusing.
        When encountering such a "bad URL' the JMXConnector providers for RMI/IIOP RMI/JRMP should throw an exception directly - with a more meaningful message - and possibly log a message on FINE or CONFIG.

        See:
        http://forum.java.sun.com/thread.jspa?threadID=5229564

              sjiang Shanliang Jiang (Inactive)
              dfuchs Daniel Fuchs
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: