> From: Kirchhoff, Florian [mailto:[EMAIL PROTECTED] 
> Subject: JDBC driver JARs in a shared production environment
> 
> Question: if you cannot place the JDBC driver jars in
> CATALINA_HOME/commons/lib, where can you put them?
> 
> 1) Place the JDBC jars in $CATALINA_BASE/jdbc and modify the start-up
> script to include these jars on the CLASSPATH?
> 2) Deploy the JDBC jars in the WAR file (e.g. WEB-INF/lib/jdbc) and
> modify the start-up script to include these jar on the CLASSPATH?

NEVER, NEVER, NEVER set CLASSPATH for use with Tomcat.

> 3) Deploy the JDBC jars and commons-dbcp.jar in the WAR in 
> WEB-INF/lib?

Yes.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to