Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » How to profile a tomcat startup
How to profile a tomcat startup [message #135954] Mon, 22 September 2008 14:45 Go to next message
Gustavo Lanna is currently offline Gustavo Lanna
Messages: 1
Registered: July 2009
Junior Member
Hi,

The tomcat startup of my application is very slow. I want to know where is
the bottleneck, but I can't profile my application until tomcat startup is
done. I think there is some listeners that is hitting the performance. How
to profile a tomcat listeners ?

Thanks in advance!
Re: How to profile a tomcat startup [message #135968 is a reply to message #135954] Mon, 22 September 2008 15:12 Go to previous message
Eugene Chan is currently offline Eugene Chan
Messages: 287
Registered: July 2009
Senior Member
Hi Gustavo,

To profile a Tomcat's startup, setup the Tomcat server startup script
outside of Eclipse workbench with jvm argument to associate a profiler with
the server process, 'Controlled' mode should be used in this case and once
the sever process is kicked off attach the Java profiler from Eclipse
workbench to monitor.
For more information about the vm argument, please refer to the following
link. Note that environment variables must be setup as listed in the link
before server process can load the required library for standalone profile.
http://dev.eclipse.org/viewcvs/index.cgi/platform/org.eclips e.tptp.platform.agentcontroller/src-native-new/packaging_md/ windows/getting_started.html?root=TPTP_Project&view=co#J ava_15
To attach a profiling agent from Eclipse workbench, use Profile
Configuration > Attach to Agent configuration type.

Eugene

"Gustavo Lanna" <gustavo.dev@gmail.com> wrote in message
news:2d35689f5b94e73e0fcfad44de876118$1@www.eclipse.org...
> Hi,
>
> The tomcat startup of my application is very slow. I want to know where is
> the bottleneck, but I can't profile my application until tomcat startup is
> done. I think there is some listeners that is hitting the performance. How
> to profile a tomcat listeners ?
>
> Thanks in advance!
>
Previous Topic:language packs tptp 4.4
Next Topic:call stack problems
Goto Forum:
  


Current Time: Wed Oct 01 10:29:15 GMT 2014

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

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