Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Profiling with Tomcat 5.x
Profiling with Tomcat 5.x [message #9479] Tue, 08 March 2005 20:25 Go to next message
Eclipse User
Originally posted by: webmail.andreaundstefanhoehn.de

Is there any guide how to profile an application within Tomcat?

TIA
Stefan
Re: Profiling with Tomcat 5.x [message #10248 is a reply to message #9479] Sun, 13 March 2005 15:09 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 11
Registered: July 2009
Junior Member
Here's a nifty way of profiling your Tomcat applications:

1) I use the sysdeo plugin to create my tomcat applications:
http://www.sysdeo.com/eclipse/tomcatPlugin.html
2) Once you have successfully downloaded this plugin, go to
Window->Preferences->Tomcat->JVM Setting and add the following
line under "Append to JVM Parameters":
-Xrunpiagent:server=enabled
3) Run your tomcat server using the tool bars that sysdeo provides
4) Attach to the profiling agent by going to Profile(using the toolbar
button) -> Attach-Java Process-> New
Switch the Agent tab, select your agent and click on profile

(Use the filter options to only profile what you need)
Once you have successfully attached to your agent, profiling data will be
collected once you interact with your agent.

"Stefan Hoehn" <webmail@andreaundstefanhoehn.de> wrote in message
news:d0lja3$f80$1@www.eclipse.org...
> Is there any guide how to profile an application within Tomcat?
>
> TIA
> Stefan
>
>
Re: Profiling with Tomcat 5.x [message #10447 is a reply to message #9479] Mon, 14 March 2005 15:50 Go to previous message
Eclipse User
Originally posted by: jim.jimvanfleet.com

Stefan Hoehn wrote:

> Is there any guide how to profile an application within Tomcat?

> TIA
> Stefan

A newbie-friendly (hopefully!) version is at

http://devblog.jimvanfleet.com/archives/000076.html

Cheers,

Jim
Previous Topic:Eclipse oprofile on AMD64
Next Topic:Remote profiling can't find matching source....
Goto Forum:
  


Current Time: Sat Aug 30 22:45:58 EDT 2014

Powered by FUDForum. Page generated in 0.01608 seconds