2-8 Developing Custom Management Utilities With JMX for Oracle WebLogic Server
2.5.1 Connecting to MBean Servers
JMX enables both local and remote access to MBean servers, but JMX clients use different APIs for the two types of access and WebLogic Server MBean servers expose
different capabilities to local clients and remote clients.
2.5.1.1 Local Connections to MBean Servers
JMX clients running within a WebLogic Server JVM can access the servers Runtime MBean Server or Domain Runtime MBean Server directly through JNDI and must be
authenticated to do so. These are the only WebLogic Server MBean servers that allow local access. When accessed from a local client, the Runtime MBean Server or Domain
Runtime MBean Server returns its javax.management.MBeanServer interface, which enables clients to access WebLogic Server MBeans and to create, register, and
access custom MBeans. See
Section 4.3, Make Local Connections to the Runtime MBean Server,
and Section 4.4, Make Local Connections to the Domain Runtime
MBean Server. JMX clients can also access the local JVMs platform MBean server. Any local client can
access the MBeans in this MBean server. See Registering MBeans in the JVM Platform MBean Server in Developing Manageable Applications With JMX for Oracle WebLogic
Server.
2.5.1.2 Remote Connections to MBean Servers
Remote JMX clients clients running in a different JVM from the MBean server can use the javax.management.remote APIs to access any WebLogic MBean server.
Clients must authenticate through the WebLogic Server security framework to do so see
Section 2.6, Security for WebLogic Server MBeans . When accessed from a
remote client, a WebLogic Server MBean server returns its javax.management.MBeanServerConnection
interface, which enables clients to only access MBeans; remote clients cannot create and register custom MBeans. See
Section 4.2, Make Remote Connections to an MBean Server. You can enable remote access to the platform MBean server. See Registering MBeans
in the JVM Platform MBean Server in Developing Manageable Applications With JMX for Oracle WebLogic Server.
Edit MBean Server Pending configuration MBeans and operations that control the
configuration of a WebLogic Server domain. It exposes a ConfigurationManagerMBean
for locking, saving, and activating changes.
Only the Administration Server hosts an instance of this MBean server.
The JVMs platform MBean server
MBeans provided by the JDK that contain monitoring information for the JVM itself. You can register custom MBeans in this MBean
server. In this release, WebLogic Server uses the JVM’s platform MBean
server to contain the WebLogic run-time MBeans by default. As such, the platform MBean server provides access to platform
MXBeans, WebLogic run-time MBeans, and WebLogic configuration MBeans that are on a single server instance. See
Section 2.5.2, Using the Platform MBean Server, and Registering
MBeans in the JVM Platform MBean Server in Developing Manageable Applications With JMX for Oracle WebLogic Server.
Table 2–2 Cont. MBean Servers in a WebLogic Server Domain
This MBean server Creates, registers, and provides access to...
Understanding WebLogic Server MBeans 2-9
2.5.2 Using the Platform MBean Server