Solved

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

Posted on 2004-09-07
2
178 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

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

773 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