Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Profile On Server Help Page

Revision as of 18:10, 22 December 2008 by Ewchan.ca.ibm.com (Talk | contribs) (Profiling an application on a server)

Profiling an application on a server

TPTP has integrated with Web Tools Project (WTP) to bring you the profile on server function. With this function you can profile your web application similar to how you run or debug in servers view seamlessly.

Note: TPTP has been tested with Apache Tomcat version 5.x and above. Other servers and versions have not been tested.

Prerequisite

TPTP-WTP integration requires the following project to be available in an Eclipse installation:

If installation is done via Update Manager, makes sure you have select the following component in the installation list:


Profile a web application in servers view

Follow these steps to run your web application on a server instance in profile mode. Note that a server instance must be already configured in the servers view.

  1. In servers view, select the target server instance, right click and select Profile in context menu. The status of the server will change to Starting....
  2. As soon as the server instance is started, Profile on Server dialog is opened.
  3. In Profile on Server dialog, select the server process under the Agents tab and move it to the Selected Agents list.
  4. Switch to Monitor tab, configure the profiling options and filter.
  5. Click on the Destination tab. ProfileProject and Default Monitor are the default profiling resources and they will be used to store data in this profiling session.
  6. Click Finish to start the profile.

Back to the top