jmx-dev JMXServiceURL and jmxmp

Jaroslav Bachorik jaroslav.bachorik at oracle.com
Fri Oct 31 13:51:18 UTC 2014


Hi Fabrice,

nice catch!

This is indeed a bug. We should not default to an external protocol.

Do you want me to file an issue for this or do you prefer to take it 
through the regular web bug?

-JB-

On 10/31/2014 02:40 PM, Fabrice Bacchella wrote:
> In the documentation, at
> http://docs.oracle.com/javase/7/docs/api/javax/management/remote/JMXServiceURL.html#JMXServiceURL(java.lang.String,%20java.lang.String,%20int,%20java.lang.String)
>
> I can read :
>
> protocol - the protocol part of the URL. If null, defaults to jmxmp.
>
> But jmxmp is not distributed with the jdk, so this constructor is bound to failed on stock jvm.
>



More information about the jmx-dev mailing list