wood burning stoves 2.0*
The moose likes Tomcat and the fly likes what is common and shared directory in tomcat folder , when use each of them 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 "what is common and shared directory in tomcat folder , when use each of them" Watch "what is common and shared directory in tomcat folder , when use each of them" New topic
Author

what is common and shared directory in tomcat folder , when use each of them

raminaa niilian
Ranch Hand

Joined: Jul 14, 2005
Posts: 551
Hi
Thank you for reading my post
What is different between tomcat_home\shared\lib and tomcat_home\common\lib
what is use of these folders ?

for what purpose we use them ?


Thank you in advance.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

Jar files placed in shared/lib will be placed into the classpath of all web applications. Jar files in common/lib will also be shared among the web apps and with Tomcat itself.

I put all shared jars in shared/lib except for JDBC drivers which, since I use container-managed connection pooling, must also be available to Tomcat and are therefore placed in common/lib.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: what is common and shared directory in tomcat folder , when use each of them
 
Similar Threads
error: Cannot load JDBC driver class
Communication from two different web apps
not able to run two site simultaneously in a tomcat websrever
Custom tags in JSP
Problem with jar-files