tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Balazuc" <>
Subject Re: Where to place JDBC drivers? How? SOLUTION FOUND!
Date Wed, 28 Nov 2001 19:25:18 GMT
If you have only one web-app that references this driver, you should put it
in WEB-INF/lib.
This allows for better maintenance and management of your libraries and
To reference/load the driver classname, you could use a parameter entry in
the web.xml file...
You could even have a startup servlet to load the driver in DriverManager
and/or have it available through some lookup system such as a JNDI service.

I think this is cleaner than having it in Tomcat/common/lib UNLESS you want
those drivers to be available for all web-apps you create.

----- Original Message -----
From: "Mike Kelley" <MikeK@M-V-T.COM>
To: "'Tomcat Users List'" <>
Sent: Wednesday, November 28, 2001 02:02 PM
Subject: RE: Where to place JDBC drivers? How? SOLUTION FOUND!

> (for my tower of cards at least)
> I'm new to all this and this is probably not the best solution BUT
> Placing my new JDBC.jar driver files within the Tomcat 4.0/common/lib/
> folder got things to work .....

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message