Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » profiling servlets
profiling servlets [message #15498] Wed, 13 April 2005 12:38 Go to next message
Eclipse UserFriend
Originally posted by: imoolla.computicket.com

Hi there,

I am new to TPTP. i am trying to find out how to profile a servlet. my
servlet is running on Tomcat and it makes use of a few classes which
include DAO's.

Thanks

Joe
Re: profiling servlets [message #15565 is a reply to message #15498] Wed, 13 April 2005 14:58 Go to previous message
Marius Slavescu is currently offline Marius SlavescuFriend
Messages: 67
Registered: July 2009
Member
Hi Joe,

You need to install the TPTP workbench and Hyades Agent Controller (this one
should be on the same machine where you run Tomcat server).
See the following documents for more info on how to setup and profile a Java
application:
http://www.eclipse.org/tptp/home/documents/tutorials/profili ngtool/profilingexample_32.html
http://dev.eclipse.org/viewcvs/indextools.cgi/~checkout~/hya des-home/docs/InstallGuide/HyadesDataCollection.html

Then you need to modify the Java command line that starts Tomcat server and
add the -XrunPiAgent VM argument.
Start Tomcat then attach (to localhost or the remote host where Tomcat runs)
from the TPTP workbench to the profiling agent that monitors the Tomcat
server.
Make sure you set the right filters and profiling parameters in the attach
profiling configuration (in execution/memory/coverage panes), in order to
profile the packages/classes/methods that you are interested in.
Start monitoring then invoke your web application and refresh the
statistical views in TPTP to see the new profiling data.

Please let me know if you need more info.

Regards,
Marius

"Joe Kinnear" <imoolla@computicket.com> wrote in message
news:326d87c91b4405b5a70036b3df7a766c$1@www.eclipse.org...
> Hi there,
>
> I am new to TPTP. i am trying to find out how to profile a servlet. my
> servlet is running on Tomcat and it makes use of a few classes which
> include DAO's.
>
> Thanks
>
> Joe
>
Previous Topic:TPTP test automation
Next Topic:eclipse Performance metrics?
Goto Forum:
  


Current Time: Thu Apr 25 09:37:08 GMT 2024

Powered by FUDForum. Page generated in 0.02710 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top