> From: V Jayakumar [mailto:v...@hotmail.com]
> Subject: jars in common/lib directory Vs webapps/APP_NAME/WEB-INF/lib
> 
> 1) Instead of including these jar files as part of the
> applicationX.war, can they be copied to $CATALINA_HOME/common/lib

Yes, but it's usually a bad idea to do so.  Note that you would not copy them, 
you have to move them - you don't want the jars to be in more than one place in 
a given branch of the classloader tree.  By placing jars in a common location, 
you are likely preventing reload of individual webapps and you creating a 
versioning dependency nightmare.

> 2) What is the significance of $CATALINA_HOME/common/lib &
> $CATALINA_HOME/webapps/appName/WEB-INF/lib

Read the doc:
http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to