BMC Software, Inc., Confidential and Proprietary Information
Instrumenting and Profiling J2EE Components 9-1
9
Instrumenting and Profiling J2EE
Components 9
This chapter explains how to use PATROL for BEA WebLogic to
monitor performance of low-level objects, such as individual SQL
statements, EJBs, and servlet methods.
Note
The features described in this chapter are not active in a default product
configuration. They become available only when specifically enabled.
See “Enabling Instrumentation and Profiling Features” on page 3-10.
The following topics are described:
Instrumenting and Profiling J2EE Objects . . . . . . . . . . . . . . . . . . . . . 9-2
Using Instrumentation to Identify and Monitor Most Critical SQL
Objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-3
Running the Top N SQL Report . . . . . . . . . . . . . . . . . . . . . . . . . 9-4
Monitoring SQL Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-6
Using Instrumentation to Identify and Monitor Most Critical EJBs . 9-8
Running the Top N EJB or Top N EJB Methods Report . . . . . . . 9-9
Monitoring EJB Methods. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-11
Identifying and Using Instrumentation to Monitor Most Critical
Application Servlets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-12
Running the Top N WebApps Report . . . . . . . . . . . . . . . . . . . . . 9-13
Running the Top N Servlets Report. . . . . . . . . . . . . . . . . . . . . . . 9-15
Monitoring Servlets to the Method Level . . . . . . . . . . . . . . . . . . 9-17