-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

All,

Also worth noting is that it appears only the first WebappClassLoader
is leaked: multiple subsequent webapp re-loads do not leak additional
WebappClassLoaders (which is kind of nice).

- -chris

On 5/31/13 2:10 PM, Christopher Schultz wrote:
> Chuck,
> 
> On May 31, 2013, at 12:02, "Caldarale, Charles R"
> <chuck.caldar...@unisys.com> wrote:
> 
>>> From: Christopher Schultz
>>> [mailto:ch...@christopherschultz.net] Subject:
>>> WebappClassLoaders pinned in memory by
>>> java.security.ProtectionDomain objects
>> 
>>> Using MySQL Connector/J 5.1.24 (important later)
>> 
>> Where is the JDBC jar located?  Is the observed behavior
>> different if it's in tomcat/lib versus the webapp's WEB-INF/lib?
> 
> Duh, should've mentioned that: it's in CATALINA_HOME/lib
> 
>>> I'm not sure what that Thread's current context class loader is
>>> (any idea how to find out? Browsing the object's members isn't
>>> leading me anywhere)
>> 
>> Thread.getContextClassLoader() will tell you, if you can get into
>> a debugger that will evaluate it for you.  Can't seem to find an
>> MBean attribute for it, unfortunately.
> 
> I've been looking at an off-line heap dump. YourKit doesn't seem to
> let me see the contextClassLoader member for some reason.
> 
> I'll try to attach to the running process later.
> 
> -Chris 
> ---------------------------------------------------------------------
>
> 
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJRqPpcAAoJEBzwKT+lPKRYwVAP/0ia+gUZ5SRQi6JYL6nkU0ws
yYh0t1/J36t5CsshJMfpOtuVcy72VYZKPZ58Rc6AnRSXNxzevLmgHaW1xeFIYxPf
IWftnDUhcvvjw+nFfSpuQhRoAqC7vixUFtHP2ljVi/JTFV3nXHrCn/4tuvMb7qF+
Mqvk6l3dsZ6YlMu1s1sS7P1JRw96dl/hliTjiekQpVgBKQczlWto6B32JVEtL7El
sN3BXrFkwbMl6hBkhBBYi85WXEReTHNdMC4uqVPKUrLTE1d4tMKFyQsQ3t7BysIG
QkrR0MIIfoe+5EflFBWbKEC+IunjEybydzQOVafHLqGERQ8AR5U8e05/xv+Kz/A0
UiTizXXMnlKQRl7Ue73CKhmCwmPGn6HjbY2M56bbeQtL1R1ZopcVjuv41A3gRTWn
BpBNsMA9dZ0v6qxEd5bjW4M1wuPcitUOA44mOGIwOvDFUGN/2chKRRHWjwEdo1sq
UvVjDcoBBbThr+dRIxOToEzSEZ6o3IG3LRQzF7DGy6xzruoShFld4KVcPljKJ14g
kuNa0NnDSwecQV08aIODvxcXGus43O6IT2EaWM9C/1m1F0bCjxfB3iLtsxWKiOJF
u+KaNM8e7KzNQfGsw/OjHtTZihX1XQPjlapTLONoczI6CyYxPJ839X/baf/7icre
2atH0XUb0pUVw9cJOxGe
=lsW+
-----END PGP SIGNATURE-----

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

Reply via email to