atom feed4 messages in org.apache.jakarta.generalRe: JDBC & Tomcat
FromSent OnAttachments
Marcos MartinezApr 28, 2000 6:41 am 
Paul McKeanMay 2, 2000 8:52 am 
Craig R. McClanahanMay 2, 2000 9:02 am 
Fergus GallagherMay 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.