This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Loaded jar files in tomcat" Watch "Loaded jar files in tomcat" New topic

Loaded jar files in tomcat

Prashant Sangani

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

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12761
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.

Don't get me started about those stupid light bulbs.
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