I have found from tomcat wiki page http://wiki.apache.org/tomcat/HowTo it says that:
How do I add JARs or classes to the common classloader without adding them to $CATALINA_HOME/common/lib? Edit the file catalina.properties under $CATALINA_BASE/conf; there is a property called common.loader to which you can add additional paths to find JARs or classes for the common classloader. Now I have added another property as: common.loader=${catalina.home}/common/classes,${catalina.home}/common/i1 8n/*.jar,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/ lib/*.jar, ${catalina.home}/test/lib/*.jar and created a directory called apache-tomcat-5.5.27\test\lib, I have restarted tomcat server, still I get the same error. Any reason why? many thanks Kasim -----Original Message----- From: Mohammad, Hammad Kasim Bekur [mailto:hammadkasimbekur.moham...@misys.com] Sent: 10 December 2009 12:14 To: Tomcat Users List Subject: RE: db jars in common/lib and shared/lib Hi, My application is having a restriction that I cannot change or add jars to common/lib, is there anyway I can create a new directory which is equalent to common/lib? What additional changes I need to make for adding another directory? Since If I open I can find tomcat/common/lib, server/lib, shared/lib. All are having its own libraries, I need to add another directory called test/lib and put my db jars, so that when server startup it should identify the db jars from test/lib instead of common lib. many thanks Kasim ext: 34632 Mobile: 9663763720 Skype: kasim.bekur -----Original Message----- From: Mohammad, Hammad Kasim Bekur [mailto:hammadkasimbekur.moham...@misys.com] Sent: 10 December 2009 10:04 To: Tomcat Users List Subject: RE: db jars in common/lib and shared/lib Can you please provide a link from apache or good site to have justification? many thanks Kasim -----Original Message----- From: Joseph Morgan [mailto:joseph.mor...@ignitesales.com] Sent: 09 December 2009 23:36 To: Tomcat Users List Subject: RE: db jars in common/lib and shared/lib Dang it... the db drivers need to be located in common/lib if being used as a source for a connection pool... Sorry for the mistake... -----Original Message----- From: Joseph Morgan [mailto:joseph.mor...@ignitesales.com] Sent: Wednesday, December 09, 2009 12:04 PM To: Tomcat Users List Subject: RE: db jars in common/lib and shared/lib Kasim.. did you see Mark's note??? If you are using the connection pool under Tomcat, then the DB drivers need to be located in shared. -----Original Message----- From: Mohammad, Hammad Kasim Bekur [mailto:hammadkasimbekur.moham...@misys.com] Sent: Wednesday, December 09, 2009 8:14 AM To: Tomcat Users List Subject: RE: db jars in common/lib and shared/lib It verified and it as given as shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/li b/*.jar many thanks Kasim -----Original Message----- From: Mark Thomas [mailto:ma...@apache.org] Sent: 09 December 2009 19:39 To: Tomcat Users List Subject: Re: db jars in common/lib and shared/lib Joseph Morgan wrote: > Mohammad, > > Look in your Tomcat/conf/catalina.properties file. Within there you'll > find a "shared.loader=" line, and I suspect it is empty. You'll likely > want to enter a value there, such as > "shared.loader=${catalina.home}/shared,${catalina.home}/shared/*.jar" Nope. That is Tomcat 6. The OP is using 5.5.x Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org "Misys" is the trade name for Misys plc (registered in England and Wales). Registration Number: 01360027. Registered office: One Kingdom Street, London W2 6BL, United Kingdom. For a list of Misys group operating companies please go to http://www.misys.com/corp/About_Us/misys_operating_companies.html. This email and any attachments have been scanned for known viruses using multiple scanners. This email message is intended for the named recipient only. It may be privileged and/or confidential. If you are not the named recipient of this email please notify us immediately and do not copy it or use it for any purpose, nor disclose its contents to any other person. This email does not constitute the commencement of legal relations between you and Misys plc. Please refer to the executed contract between you and the relevant member of the Misys group for the identity of the contracting party with which you are dealing. --------------------------------------------------------------------- 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 --------------------------------------------------------------------- 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 --------------------------------------------------------------------- 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