How to access Platform MBean Server in WLS
I wrote a remote JMX Client that connects to a WLS instance and
invokes the LoggingMXBean server to set the Log Level (below). In order for a
JMX Client to see the Java Logging MXBean I need to enable "Platform
MBean Server Enabled" on the domain, and set isPlatformMBeanServerUsed to true on WLS.
The documentation warns us " Do not use this configuration if you cannot control or cannot trust the applications that are running within a JVM ."
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/wlsmbeanref/core/index.html
So, is there another way to access the Platform MBean server (Logging MXBean) without exposing this security risk? How does JConsole connect to WLS and access the Platform MBeans *without* setting the "Platform MBean Server Enabled" to true? Any sample programs?
The documentation warns us " Do not use this configuration if you cannot control or cannot trust the applications that are running within a JVM ."
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/wlsmbeanref/core/index.html
So, is there another way to access the Platform MBean server (Logging MXBean) without exposing this security risk? How does JConsole connect to WLS and access the Platform MBeans *without* setting the "Platform MBean Server Enabled" to true? Any sample programs?
0