You need to follow the tomcat documentation
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to