You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Behrang Saeedzadeh <be...@gmail.com> on 2005/02/19 00:12:35 UTC

Putting JDBC drivers in common/lib

Is it mandatory to put the JDBC drivers in the common/lib? Or can I
put the JDBC drivers in each context's WEB-INF/lib? As long as I can
remember I read somewhere that these drivers most be placed in the
common/lib directory cause otherwise it introduces class loader
problems. But what if I have two different Web applications and each
of them use a different version of the JDBC driver for the same RDBMS?

Regards,
-- 

Behrang Saeedzadeh
http://www.jroller.com/page/behrangsa

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Putting JDBC drivers in common/lib

Posted by Larry Meadors <la...@gmail.com>.
if you are using jndi, i think they have to be in common/lib. If not,
they can go in WEB-INF/lib instead.

Larry


On Sat, 19 Feb 2005 02:42:35 +0330, Behrang Saeedzadeh
<be...@gmail.com> wrote:
> Is it mandatory to put the JDBC drivers in the common/lib? Or can I
> put the JDBC drivers in each context's WEB-INF/lib? As long as I can
> remember I read somewhere that these drivers most be placed in the
> common/lib directory cause otherwise it introduces class loader
> problems. But what if I have two different Web applications and each
> of them use a different version of the JDBC driver for the same RDBMS?
> 
> Regards,
> --
> 
> Behrang Saeedzadeh
> http://www.jroller.com/page/behrangsa
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org