If you have multiple tomcats and multiple applications then you have to put the jars on a separate location and add these in class path environment before starting any of the tomcat, it will work for more then one tomcats and more then one applications, thanks.
Best Regards, Zeeshan Ahmad. Associate Manager SCM. P Save a tree...pls don't print this e-mail unless necessary -----Original Message----- From: Ghufran [mailto:ghufra...@vopium.com] Sent: Wednesday, June 03, 2009 4:08 PM To: 'Tomcat Users List' Subject: RE: How to reference Shared Libraries with TOMCAT 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 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org