The moose likes JDBC and the fly likes DB Connections max out 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 "DB Connections max out" Watch "DB Connections max out" New topic

DB Connections max out

Nit Kul

Joined: Oct 26, 2009
Posts: 14
Hi I am new to DB.
I have database connections max exceeding out. I have many different nodes of server, balanced by load balancer.
I get max connection pool someitmes, which I see 32 (maxed out).

They dont get reset, even after webserver restart. Looks like they have hung in the db server after the query is sent.
Please help. Would like to know what is causing it? why are the connections not resetting after webserver restart?

Peter Johnson

Joined: May 14, 2008
Posts: 5812

Nit, welcome to Java Ranch!

Which application/web server? Once you let us know, I'll move this discussion to the forum for that server.

JBoss In Action
Tim McGuire
Ranch Hand

Joined: Apr 30, 2003
Posts: 820

Do you always call connection.close()?

please display the code you use to open and use a JDBC connection.
I agree. Here's the link: http://aspose.com/file-tools
subject: DB Connections max out
Similar Threads
weblogic server crash
tomcat suddenly stopped working for half an your without any error in log
OC4J - Connection issues.. Very important
NX:Client crashed cause deadlock in LockManager