tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: debugging a deployed webapp 101
Date Thu, 09 Aug 2012 20:21:42 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Russ,

On 8/9/12 3:46 PM, Russ Tremain wrote:
> I heard that there is a way to get tomcat manager to dump the
> contents of the classpath loaders for a deployed application, but I
> haven't been able to find it.
> 
> So far, I see only the ideas of using jstack or kill -3 (SIGQUIT)
> to dump the threads for the container process.

Do you want to get a thread dump, or do you want to get a list of JAR
files that each ClassLoader is aware of?

> Is there a way to get specific information about the loaded
> classpaths?

If you can attach to the process using jconsole, then you can look at
the /Catalina/WebappClassLoader tree (somewhat predictably gives you
details about WebappClassLoaders) and the /Catalina/Loader tree which
has more information.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAkG9YACgkQ9CaO5/Lv0PCIJwCglZPb6a0AbAMt2ZEO43enPKiZ
8PoAn1sCtIoduMa5CRhtr7OuhFNSEzc8
=J2pm
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message