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"

-----Original Message-----
From: Mohammad, Hammad Kasim Bekur
[mailto:hammadkasimbekur.moham...@misys.com] 
Sent: Wednesday, December 09, 2009 8:01 AM
To: Tomcat Users List
Subject: RE: db jars in common/lib and shared/lib

Tomcat: apache-tomcat-5.5.27
OS: Windows NT.
Ant: 1.7

Not from OS, downloaded version. 

many thanks
Kasim

-----Original Message-----
From: peter.crowth...@googlemail.com
[mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther
Sent: 09 December 2009 19:07
To: Tomcat Users List
Subject: Re: db jars in common/lib and shared/lib

2009/12/9 Mohammad, Hammad Kasim Bekur
<hammadkasimbekur.moham...@misys.com>

> I have placed my db jars(ie db2jcc.jar, db2jcc_javax.jar and
> db2jcc_license_cu.jar )  in tomcat/common/lib, and started ant target
to
> run the tomcat, server started up properly.
>
> Now I have removed these jar from common/lib and put under shared/lib,
> server throws an error saying couldnot load the driver.
>
> Can you please let me know why it is working when it is in common/lib
> and why it is not working when it is in shared/lib directory?
>
> It would help to have a few more details about your setup:

Operating system?

Tomcat version?  The locations to put files have changed over the years.

Is this Tomcat installed from http://tomcat.apache.org or is it a
repackaged
version that came with your operating system?

- Peter


"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

Reply via email to