Solved

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

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PHP &Mysql encoding problem 4 25
How to find /read Apache log error file ? 5 113
Guacamole and browser performance 1 65
Clearing cache in word press. 3 50
If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

864 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now