Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

856 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