Skip to main content



      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 05:09 Go to next message
Eclipse UserFriend
Hi,

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
startup?

Thanks,

Mariano.
Re: How to profile a webapp startup? [message #126739 is a reply to message #126240] Tue, 18 March 2008 11:05 Go to previous message
Eclipse UserFriend
Mariano,

To collect the trace information of startup time, try start the
application with profiling JVM options in Controlled mode, see detail
information here >
http://www.eclipse.org/tptp/platform/documents/tutorials/jvm 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.

Eugene
Previous Topic:ACServer: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No s
Next Topic:ARM data collection not working
Goto Forum:
  


Current Time: Fri May 09 04:00:08 EDT 2025

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

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

Back to the top