wood burning stoves 2.0*
The moose likes JDBC and the fly likes One problem with DB Connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "One problem with DB Connection" Watch "One problem with DB Connection" New topic
Author

One problem with DB Connection

lydia westland
Ranch Hand

Joined: Feb 24, 2002
Posts: 72
Here is the problem I have with one of my customer site.
They are using MS SQL Server 2000, Java 1.4 and ODBC on Win 2000.
for the database connection, I didn't use connection pool but just reused several database connections again and again. When there is only 40 clients connected, it's working great. However, when the number of clients connected goes to 90 or more, the ODBC connection starts aborting SQL execution and database connection starts broken.
I think connection pool is the only way for me to resolve the problem. I should not re-invent the wheel. Can anyone give me good general connection pools for ODBC connection? I really appreciate that.


Lydia<br />~~~~~~~~~~~~<br />I love Italy team.
lydia westland
Ranch Hand

Joined: Feb 24, 2002
Posts: 72
Can anyone give me some suggesion on the existing connection pool package?
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Here's a list of several from the Google directories:
http://directory.google.com/Top/Computers/Programming/Languages/Java/Databases_and_Persistence/JDBC/
Dave
Philip Shanks
Ranch Hand

Joined: Oct 15, 2002
Posts: 189
For some reason that Google directory listing didn't mention the Jakarta-Commons DBCP Project, but there are some others there that I should take a look at. Right now I use DBCP with a Tomcat 4.1 server.
You didn't mention which app server your customer is using. Perhaps it also provides a DB pool mechanism?


Philip Shanks, SCJP - Castro Valley, CA
My boss never outsources or has lay-offs, and He's always hiring. I work for Jesus! Prepare your resume!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: One problem with DB Connection
 
Similar Threads
Facing Big Problem with Sql Server 2000 Odbc Driver
jdbc:odbc password definition
How to make a data source connection without writing a User name & Password and the -ds.xml file
I am facing a lot of problems with sql server 2000 odbc drivers.
[Microsoft] [ODBC SQL Server Driver][SQL Server] cannot open database "bms" requested by the login.