Professional Documents
Culture Documents
JMX Client
Prachi Joshi
Objectives
At the end of this session, participant should be able to
Contents
Classpath for Remote Clients
Remote Connections to an MBean Server
Choosing An MBean Server
Domain Runtime MBean Server versus Runtime MBean
Server
Make Local Connections to the Runtime MBean Server
Navigate MBean Hierarchies
ServletRuntimeMBean
Editing MBean Attributes
getMBeanServerConnection() Method
The method returns an object of type
javax.management.MBeanServerConnection
The MBeanServerConnection object is connection to the
WebLogic MBean server
It can be used for local and remote connections
10
11
12
13
14
15
16
17
18
19
20
ServletRuntimeMBean
Each servlet in a Web application provides instance of
ServletRuntimeMBean which contains information about
the servlets runtime state
In the WebLogic Server data model, the path to a
ServletRuntimeMBean is as follows:
The Domain Runtime MBean Server or the Runtime MBean
Server
DomainRuntimeServiceMBean or RuntimeServiceMBean,
ServerRuntimes attribute
ServerRuntimeMBean, ApplicationRuntimes attribute
ApplicationRuntimeMBean, ComponentRuntimes attribute
WebAppComponentRuntimeMBean, ServletRuntimes attribute
21
Monitoring Servlets
MonitorServlets.java
Output
22
24
25
26
27
28
29
30
Summary
In this session we covered
Classpath for Remote Clients
Remote Connections to an MBean Server
Choosing An MBean Server
Domain Runtime MBean Server versus Runtime MBean
Server
Make Local Connections to the Runtime MBean Server
Navigate MBean Hierarchies
ServletRuntimeMBean
Editing MBean Attributes
31