Setting instrumentation level for enterprise bean methods

To avoid the overhead of monitoring individual remote methods, individual methods in enterprise beans will not be displayed in the performance pane unless the monitoring level for Methods is set to maximum. To display individual methods and specify their instrumentation levels, do the following:

1. Select Custom for the server and click Specify... (see Figure 16-12).

2. Expand Enterprise Beans, then expand the JAR file for the EJB.

3. Expand the appropriate category (stateful session bean, entity bean, etc.).

4. Expand the bean and select the Methods category. Set the instrumentation level to Maximum.

Figure 16-14 Set the instrumentation level to maximum for the enterprise bean methods

5. Click OK to close the window.

6. Click Apply to make the change take effect. Then re-open the Performance Monitoring Settings window (select Custom and click Specify...). Individual methods are now displayed as shown in Figure 16-15.

Figure 16-15 Enterprise bean methods available after the first method call

7. Select the individual methods and set the instrumentation levels as required.

Note that only methods that have been called by an application are displayed. If a remote method has not been called since the appserver was started, it does not appear in the performance pane.

In Figure 16-15, for an example, the Consultation enterprise bean has been called at least once, but the TransferStateless bean has not been called yet.

  Prev | Home | Next

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.