tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russ Tremain <ru...@releasetools.org>
Subject Re: debugging a deployed webapp 101
Date Thu, 09 Aug 2012 21:17:27 GMT
Hey, that's pretty cool - nice that tomcat has full jmx interface now.

By drilling down from the "MBeans" tab as you suggested, I can now see my classpath, but not
the actual classes that are loaded.

I do see a nice graph that tracks the total number of classes loaded, under the "Classes"
tab.

-Russ


At 4:21 PM -0400 8/9/12, Christopher Schultz wrote:
>-----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


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


Mime
View raw message