Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » How to profile a webapp startup?
How to profile a webapp startup? [message #126240] Thu, 13 March 2008 09:09 Go to next message
Mariano Eloy Fernández Osca is currently offline Mariano Eloy Fernández OscaFriend
Messages: 16
Registered: July 2009
Junior Member

Currently I'm working on a webapp that is taking too long to start on a
Tomcat 4.1 server. So I thought it was time to try TPTP to see some
execution time stats. However, profiling only start gathering info once
the webapp is started.
So, how can I (profile) see execution time stats related to this webapp


Re: How to profile a webapp startup? [message #126739 is a reply to message #126240] Tue, 18 March 2008 15:05 Go to previous message
Eugene Chan is currently offline Eugene ChanFriend
Messages: 287
Registered: July 2009
Senior Member

To collect the trace information of startup time, try start the
application with profiling JVM options in Controlled mode, see detail
information here > ti/Java_Application_Profiling_using_TPTP-v2.0.html#3.3
In Controlled mode, server process is suspended from starting until its
profiling agent is attached by TPTP and it will continue to start. That
will allow collection of trace event from the beginning of server startup.
By default, TPTP-WTP profile on server feature supports only Enabled mode
profiling. In order to support your use case, you will have to insert the
JVM argument for Controlled mode profiling in the server launch
configuration manually.

Previous Topic:ACServer: error while loading shared libraries: cannot open shared object file: No s
Next Topic:ARM data collection not working
Goto Forum:

Current Time: Fri Apr 20 11:03:42 GMT 2018

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

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