How to Setup Global JNDI Mapping
for Oracle JDBC Connection Pooling
with Tomcat

by Gregg Lagnese, MicroDeveloper, Inc.
May 16, 2005 v1.3
 
Introduction <- Previous Introduction Next -> Steps
 

Configuration

 
Pre-requisite setup:

To begin with, you will need the following Jars (not zips) in your $CATALINA_BASE/<5.0.x>/common/lib directory.

Note: You only need naming-common.jar with 5.0 implementations, do not include it with 5.5 (or Tomcat will not start) because it is already bundled in the other 5.5 version of the factory Jar. You also don't need JSTL (JavaServer tags) unless you intend to use that as well.

/usr/local/tomcat/5.5.7/common/lib

commons-collections-3.1.jar
commons-dbcp-1.2.1.jar
commons-el.jar
commons-pool-1.2.jar jasper-compiler-jdt.jar
jasper-compiler.jar
jasper-runtime.jar
jsp-api.jar jstl.jar naming-java.jar naming-factory.jar naming-factory-dbcp.jar naming-resources.jar
ojdbc14.jar servlet-api.jar

For 5.0.x add this Jar:
naming-common.jar
You can get these files here if necessary:
Windows ZIP package
Unix GZIP package
 
Introduction <- Previous Introduction Next -> Steps