File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Customer Requirements for Developers this week in the Jobs Discussion 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: 19693

Yes, I think you are right. The code is most likely not closing the connections properly. It should look something like this pseudocode:
wood burning stoves
subject: running out of connection
It's not a secret anymore!