tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Follow-up: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool and OracleTimeoutPollingThread
Date Wed, 22 May 2013 17:42:38 GMT
> From: Christopher Schultz [mailto:chris@christopherschultz.net] 
> Subject: Re: Follow-up: Possible false-postive with JreMemoryLeakPreventionListener 
> and Tomcat's JDBC Pool and OracleTimeoutPollingThread

> I suspect that the DriverManager will always be loaded by the boot
> ClassLoader, since the default-dispatch for ClassLoaders is to chekc
> the parent first, then check "yourself". The DriverManager is at the
> top-level (well, there is primordial, but that doesn't really count)
> ClassLoader so you'll always get that.

Terminology alert: you're confusing the boot class loader with the system class loader, and
have erroneously labeled the actual boot class loader as "primordial".  Generally speaking,
the boot class loader is responsible for extracting JRE classes from rt.jar (and others that
come with the JRE), while the system class loader deals with those specified by the java.class.path
setting (CLASSPATH for those still stuck on environment variables).

 - 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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message