commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Shifman <>
Subject Re: dbcp issue: unable load commons-dbcp.jar and commons-pool.jar in lib/ext
Date Tue, 28 Jul 2009 12:45:33 GMT
You need to follow the tomcat documentation
and you don't need to download anything.
> DBCP uses the Jakarta-Commons Database Connection Pool. It relies on 
> number of Jakarta-Commons components:
>     * Jakarta-Commons DBCP
>     * Jakarta-Commons Collections
>     * Jakarta-Commons Pool
> These libraries are located in a single JAR at 
> |$CATALINA_HOME/common/lib/naming-factory-dbcp.jar|. However, only the 
> classes needed for connection pooling have been included, and the 
> packages have been renamed to avoid interfering with applications.

bye webster wrote:
> Hello,
> I recently research on how to implement Database Connection Pooling into
> Tomcat 5.5 server.
> After downloaded dbcp.jar and pool.jar from Jakarta project and I follow
> through the guideline provided.
> Unfortunately, It is only working when i set jar file path in CLASSPATH but
> it unable load it when it is keep inside jre/lib/ext directory.
> I thought all the jar will load in /lib/ext directory for all tomcat user.
> Who's know what's happening? i don't want messy my classpath setting so
> who's know how to load it from lib/ext directory?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message