| From | Sent On | Attachments |
|---|---|---|
| Marcos Martinez | Apr 28, 2000 6:41 am | |
| Paul McKean | May 2, 2000 8:52 am | |
| Craig R. McClanahan | May 2, 2000 9:02 am | |
| Fergus Gallagher | May 2, 2000 9:04 am |
| Subject: | Re: JDBC & Tomcat | |
|---|---|---|
| From: | Fergus Gallagher (Ferg...@OrbisUK.com) | |
| Date: | May 2, 2000 9:04:21 am | |
| List: | org.apache.jakarta.general | |
A less efficient but purer way would be to put the driver jar in WEB-INF/lib with the rest of your application. This means that
PRO: Different web-apps can have different versions of the driver CON: Each web-app would load up a separate instance in it's own classloader, thus wasting memory.
Generally I prefer the latter as it keeps tomcat "clean"
Fergus
At 10:52 02/05/00 -0500, Paul McKean wrote:
Marcos Martinez wrote:
I am trying to conect my servlets with the JDBC driver, (in my case it is msql, but i think thi no matter). then my question, is where must i place the jar file which containd the JDBC driver, in the structure of Tomcat?
Thank for all
We put a symbolic link to it in the <tomcat-home>/lib directory/folder. It would also work to simply copy it there.
-- Paul C. McKean Jr. Technical Audit & Systems Compliance Lockheed Martin Space Systems Company - Michoud Operations phone: (504) 257-1213
-- Fergus Gallagher Orbis http://www.orbisuk.com/ +44-(0)20-8987 0717





