Oracle Weblogic Server (MOSC)

MOSC Banner

How to access Platform MBean Server in WLS

edited Mar 23, 2010 3:21AM in Oracle Weblogic Server (MOSC) 1 commentAnswered
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?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center