*
The moose likes Tomcat and the fly likes Loaded jar files in tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Loaded jar files in tomcat" Watch "Loaded jar files in tomcat" New topic
Author

Loaded jar files in tomcat

Prashant Sangani
Greenhorn

Joined: Mar 17, 2008
Posts: 3
Hi,
How can I know what all jar files (reside at $CATALINA_HOME/lib/) apache tomcat has loaded?

Thanks
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12756
    
    5
I suspect you have gotten the wrong idea about jar files. Java never "loads" a whole jar file, but selects class definitions as needed.

A typical Tomcat installation should have the class-loader-howto.html file in webapps/docs - this explains where Tomcat is allowed to look for library Jars.

Tomcat does NOT use your environment CLASSPATH.

Bill
 
 
subject: Loaded jar files in tomcat
 
Similar Threads
Can I add folder in WEB-INF/lib ?
A problem with Apache SOAP 2.3 + Tomcat 4.0
Proper use of /shared/lib
java.lang.ClassNotFoundException: oracle:jdbc:driver:OracleDriver
JSTL TLD