> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Why myApps classpath is tomcat/common > > Note that this uses the "system" ClassLoader to locate resources. I > suspect the CLASSPATH for that loader is something like > /opt/sun-jdk-x-y-z/lib/rt.jar plus a few other things.
No, the system classloader is the one used to load the primary application classes; when running Tomcat, it normally references Tomcat's bin/bootstrap.jar file plus the jars linked from that one via META-INF. The rt.jar and other JRE jars are handled by the JVM's bootstrap (aka "null") classloader. - 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.