In tomcat 6.x, put the jars in <tomcat-home-dir>/lib and all the web applications in that tomcat will start sharing the jars.
Regards Ghufran Ul Haq -----Original Message----- From: Zeeshan Ahmad [mailto:zah...@i2cinc.com] Sent: Wednesday, June 03, 2009 1:40 PM To: 'Tomcat Users List' Subject: RE: How to reference Shared Libraries with TOMCAT Hello, You need to add those JAR files on central location add these files in Class Path (its better if you make a environment script), so when will you start your applications it will load JARs from there, thanks. Best Regards, Zeeshan Ahmad. Associate Manager SCM. P Save a tree...pls don't print this e-mail unless necessary -----Original Message----- From: Sarva [mailto:malhotrasa...@yahoo.in] Sent: Wednesday, June 03, 2009 2:14 PM To: users@tomcat.apache.org Subject: How to reference Shared Libraries with TOMCAT Till now I have been deploying all the JARs in WEB-INF/lib folder of my Web Application and run it to satisfaction. Now we need a mechanism by which the JARs will not be stored in WEB-INF/lib but in a centralized location for example c:/lib, and all tomcat Web Applications should refer to this folder for all JARs required during runtime. How can I do this. Thanks Sarva -- View this message in context: http://www.nabble.com/How-to-reference-Shared-Libraries-with-TOMCAT-tp238473 20p23847320.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.339 / Virus Database: 270.12.44/2140 - Release Date: 06/02/09 17:53:00