aspose file tools*
The moose likes JDBC 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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
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: 18987

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