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
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.
"Joe Kinnear" <email@example.com> wrote in message
> 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.