> 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? > 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. > still others have the JVM's application ClassLoader (the one once-removed > from boot, Chuck ;). That would more properly be termed the system class loader. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org