-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrea,

Andrea Di Muro wrote:
| Tomcat is running on a Linux Server, what is the exact command to take the
| thread dump?
| kill -s QUIT tomcat_pid is right?

Yes. The thread dump will be printed on stdout, and probably go into
catalina.out.

| By using this command will Tomcat shut down or just print the threa
dump on
| the standard output?

Only the thread dump -- Tomcat will not shutdown.

| And how can I interpret the output to see which page is causing the
| problem?

A thread dump is like a stack trace, except that it performs a stack
trace on /all/ live threads. It will tell you what each thread is doing.

If you see a few threads that are running methods like _jsp_service,
then those threads are running JSPs. The name of the JSP should be
evident from the class and method name printed in the trace for that
particular thread.

You could observe several thread dumps to see if one particular thread
(or several) are always executing the same method. If so, that JSP is
probably the one that is hanging.

Good luck,
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgh3xAACgkQ9CaO5/Lv0PBBbACgnRz2dQEdZH/kwzUXa/E/UjGE
n58AoIpHKTrJowHF+DmUwztHEfRF4ppa
=B4jY
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to