File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 13037
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.

I agree. Here's the link:
subject: Loaded jar files in tomcat
jQuery in Action, 3rd edition