This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 18541

Yes, I think you are right. The code is most likely not closing the connections properly. It should look something like this pseudocode:
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: running out of connection
Similar Threads
Coonection pooling problem.....
JDBC Coonection Pooling in a multithreaded Web application
Coonection Pooling
Coonection pooling in WAS6.1
Coonection to the remote host failed in ubuntu 9.10