A SERVICE OF

logo

BMC Software, Inc., Confidential and Proprietary Information
viii PATROL for BEA WebLogic User Guide
Removing a JDBC Pool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-15
Administering JDBC Pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-16
Enabling or Disabling JDBC Profiling . . . . . . . . . . . . . . . . . . . .7-18
Generating JDBC Profiling Reports . . . . . . . . . . . . . . . . . . . . . .7-19
Chapter 8 Managing Web Applications
Managing Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-2
Automatically Deploy Domain Applications . . . . . . . . . . . . . . .8-3
Deploy and Undeploy Applications to Servers . . . . . . . . . . . . . .8-4
Select Servlet to Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-6
Chapter 9 Instrumenting and Profiling J2EE Components
Instrumenting and Profiling J2EE Objects . . . . . . . . . . . . . . . . . . . . .9-2
Running the Top N SQL Report . . . . . . . . . . . . . . . . . . . . . . . . .9-4
Monitoring SQL Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-6
Running the Top N EJB Report and the Top N EJB Methods Report
9-9
Monitoring EJB Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-11
Running the Top N WebApps Report . . . . . . . . . . . . . . . . . . . . .9-13
Running the Top N Servlets Report . . . . . . . . . . . . . . . . . . . . . . .9-15
Monitoring Servlets to the Method Level . . . . . . . . . . . . . . . . . .9-17
Profiling the Java Virtual Machine . . . . . . . . . . . . . . . . . . . . . . . . . . .9-19
Identifying Processes with High CPU Usage . . . . . . . . . . . . . . .9-20
Running a Thread Detail Report . . . . . . . . . . . . . . . . . . . . . . . . .9-21
Chapter 10 Managing JMX-Instrumented Applications
Monitoring JMX MBeans . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-2
Instrumenting Your Application with JMX . . . . . . . . . . . . . . . .10-2
The PATROL for BEA WebLogic MBean Interface . . . . . . . . .10-3
Setting Default E-mail Address for Notifications . . . . . . . . . . .10-4
Defining Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-6
Adding Automatic Actions . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-11
Adding E-mail Notifications . . . . . . . . . . . . . . . . . . . . . . . . . . .10-13
Advanced Features for JMX Monitoring . . . . . . . . . . . . . . . . . . . . .10-15
Manually Registering an MBean . . . . . . . . . . . . . . . . . . . . . . . .10-16
Defining Conditions for an Unregistered MBean . . . . . . . . . . .10-17
Setting JMX Debug Flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-19