I have DBCP connection pooling working as follows using Tomcat 4.1.12:
Under the Context element for your application (this can either be in the
server.xml file or a separate xml file in the webapps dir) I have the
following config:
Resource name=jdbc/ scope=Shareable
There are two sets of configuration that need to be done to get this
working.
Apache Configuration
The following needs to be added to the httpd.conf for Apache: (assuming the
dll has been put into the modules directory)
LoadModule jk2_module modules/mod_jk2.dll