This document provides an overview of TPTP-Eclipse Web Tools Platform (WTP) integration that is developed under TPTP to support server profiling. This integration allows users to profile a web application deployed on a server, all under the same development environment. It is meant to allow Eclipse developers to quickly start a profiling session of web projects and collect profiling data for further performance improvement.
- TPTP runtime
- WTP runtime
- Java EMF model (JEM)
- Graphics Editor Framework (GEF)
- Remote Agent
Controller (RAC) :
%AgentControllerInstall%is the install location of RAC.
- Integrated Agent Controller (IAC) :
%Eclipse%is the install location of Eclipse workbench
%Version%is the plug-in version identifier. eg. 4.4.0v20070524834
System path information can also be specified in the launch configuration,
please see section 3.0 for detail.
A server instance must be
created to allow profiling support. For details on server setup and management,
please refer to Eclipse help – Using the server tools.
- In the Servers view (Window > Show View > Other > Server > Servers > OK), right-click the server instance you want to profile.
- In the pop-up menu select Profile. In the Status column of the Servers view, the status of the server changes to Profiling, after the server is started in profiling mode.
- In the Agents list, select the server process and move it to the Selected agents list.
- Select the Monitor tab, and configure the profiling options. For details on profile option configuration, please refer to Eclipse help – Specifying profiling criteria.
- Click Finish to start profiling server.
Server process and profiling agent will be listed in the Profiling Monitor view for administration. For details about how to manage and analysis profiling data collect, please refer to Eclipse help – Using profiling views to analyze data.
JVMJ9VM011W Unable to load piAgent: The specified module could not be found.
Could not create the Java virtual machine.
It is due to the fact that the system path does not include the AC libraries. This can be resolved by setting up the system path and restart the Eclipse workbench. See section 1.2 for detail.
Alternatively, system path information can be configured per launch configuration instead. In the server profile launch configuration (Run > Profile... > server configuration), under the Environment tab, create a new variable and set the system path to point to the AC libraries. Click Profile to start profiling the server, similar to how it is started in the Servers view.
Author: Eugene Chan