jmx-dev RFR 6399961: The management agent doesn't support SSL keystore setup when loaded dynamically

Dmitry Samersoff dmitry.samersoff at oracle.com
Tue Oct 1 04:51:46 PDT 2013


Jaroslav,

Agent.java:

99:

 As far as you intorduce SSL_PREFIX constant, please add one for
"com.sun.management."

259:

 It's better to keep all property manipulations in agentmain and
startRemoteManagementAgent - different methods to start Agent might have
separate property set and scoping rules.

Do you need to modify jcmd as well?

-Dmitry


On 2013-10-01 13:01, Jaroslav Bachorik wrote:
> Hi,
> 
> Currently it is not possible to configure SSL parameters when loading
> the management agent. The fix is to forward any javax.net.ssl.*
> properties to the target JVM. The javax.net.ssl.* properties provided in
> the agent configuration should never replace any javax.net.ssl.*
> properties defined by the target JVM.
> 
> The issue:  https://bugs.openjdk.java.net/browse/JDK-6399961
> Webrev:     http://cr.openjdk.java.net/~jbachorik/6399961/webrev.00
> 
> Thanks,
> 
> -JB-


-- 
Dmitry Samersoff
Oracle Java development team, Saint Petersburg, Russia
* I would love to change the world, but they won't give me the sources.


More information about the serviceability-dev mailing list