> > 1. Online documentation about class loader says, > > System class loader operates on CLASSPATH. I have > > included j2ee.jar in my CLASSPATH, but tomcat is > not > > picking it up. Why is it so? > > Wherever you saw these docs, they are wrong. Tomcat > ignores the CLASSPATH > variable.
I found this documentation at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html. Did I misunderstand it or it says what I am thinking?
What it says is that the System Classloader loads classes from the classpath. This is true. HOWEVER, Tomcat out-of-the-box ignores whatever you set for the CLASSPATH env variable and builds it from scratch in it's stratup scripts. This behavior was not an accident in Tomcat's development. Don't mess with it unless you're fully aware of why and how Tomcat's classloaders work the way they do.
STFA for more info on this.
justin
____________________________________ Justin Ruthenbeck Software Engineer, NextEngine Inc. justinr - AT - nextengine DOT com Confidential See http://www.nextengine.com/confidentiality.php ____________________________________
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
