This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes running out of connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "running out of connection" Watch "running out of connection" New topic

running out of connection

swapnil paranjape
Ranch Hand

Joined: May 15, 2005
Posts: 126
i am working on the project where we have 25 no of connections and only 5 users are using the application ,still running out of coonection

the code works fine on windows and apache ,but there is problem with websphere. where i get this error ...running out of connection

connection pool is being implemented.
so i think problem can be coonection not closed properly or may be some other problem..
can anyone help me out ?
Paul Clapham

Joined: Oct 14, 2005
Posts: 19758

Yes, I think you are right. The code is most likely not closing the connections properly. It should look something like this pseudocode:
I agree. Here's the link:
subject: running out of connection
jQuery in Action, 3rd edition