Enabling the J2EE Request Profiler

The J2EE Request Profiler is used to collect execution data from distributed applications, which may span multiple processes and hosts. This collected data can be viewed as sequence diagrams. In order to use the J2EE Request Profiler for this purpose, first enable it, and then specify it as the agent of choice (see the related task).

  1. Start WebSphere Application Server.
  2. Double-click on your server listed in the Servers tab.
  3. Click on the environment tab listed in the bottom.
  4. Expand Java VM Arguments.
  5. In the Generic JVM arguments field, set the environment variable PD_DT_ENABLED to the value true. That is, type -DPD_DT_ENABLED=true.
  6. Restart WebSphere Application Server.

This enables the Sequence Diagram run time, which is disabled by default. You can now specify that the J2EE Request Profiler is to be used to collect data from the application.

Note: Whenever you want to disable the J2EE Request Profiler, set the PD_DT_ENABLED variable to the value false.

Note: A J2EE Request Profiler sample is shipped with the product. For instructions on how to use it, refer to its readme (File > New > Example > J2EE Request Profiler > Next > Finish).

Related tasks
Viewing trace interactions using Sequence Diagram views

Reserved.