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.