Solved

How to create Connection pool for a database from Tomcat 4.1.X ?

Posted on 2004-09-07
2
182 Views
Last Modified: 2010-03-04
We are using Tomcat 4.1.x and I was wondering if anyone could help me on how to set up a database connection pool with it. I know how to do it with weblogic, but is there similar way in tomcat.
I went to tomcat-manager but there is link available for that.

please help

thanks

0
Comment
Question by:pgarg2000
2 Comments
 
LVL 1

Accepted Solution

by:
tanghm earned 50 total points
ID: 12003203
Try using Jakarta DBCP at http://jakarta.apache.org/commons/dbcp/ Follow the instructions there to setup a JNDI connection pooled database resource. Default DBCP library comes with Tomcat 4.1.x and the version is 1.1 and you might need to update it to 1.2.1 from the DBCP site.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question