my dog learned polymorphism*
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
JavaRanch » Java Forums » Databases » JDBC
Bookmark "running out of connection" Watch "running out of connection" New topic
Author

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
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

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: http://aspose.com/file-tools
 
subject: running out of connection
 
Similar Threads
Coonection to the remote host failed in ubuntu 9.10
Coonection pooling problem.....
JDBC Coonection Pooling in a multithreaded Web application
Coonection Pooling
Coonection pooling in WAS6.1