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 21:38:52 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Russ,

On 8/9/12 5:17 PM, Russ Tremain wrote:
> Hey, that's pretty cool - nice that tomcat has full jmx interface 
> now.

Tomcat has supported JMX for quite some time, now. It gets better every
day (both support for JMX and Tomcat in general).

> 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.

Oh, you want to see a list of the classes loaded?

I think you can get that through the instrumentation interface (JVMPI?)
but I don't know of any tools that specifically pull-out that information.

Your best bet might be to enable "verbose class loading" when
launching Tomcat. Obviously, it will make the JVM spew a large amount
of junk, but you'll be able to see what classes were loaded when.

- -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/

iEYEARECAAYFAlAkLewACgkQ9CaO5/Lv0PBzdACguYy0Y2OsaK0xV6JMKjsCfKyq
4+UAoLRPtlp5PZtB00ed7YgOz9U2L/2u
=QEyG
-----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