It's not a secret anymore!
The moose likes JDBC and Relational Databases and the fly likes Connection pool setting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Connection pool setting" Watch "Connection pool setting" New topic

Connection pool setting

Kapil Ojha

Joined: May 12, 2013
Posts: 1

I am using resin with jdk 1.6.

My concern is. my application using 10 to 15 connection but we are connection count as around 60.

Can you please help me why connection count is going high, do i need to change the connection pool setting for this or anything else. Below is current setting which we are using in resin.conf file.

dharmendra gahlot
Ranch Hand

Joined: Apr 22, 2009
Posts: 54

Go to JDK bin folder and launch jconsole.exe from there. You can associate your java application with jconsole and
analyse the current threads for connection uses. May be a problem of forgetting close connection in application code.
You can use checkstyle plugin in eclipse for checking code for this.

Dharmendra Gahlot
SCJP-5.0 87%,SCWCD-5.0 92%
I agree. Here's the link:
subject: Connection pool setting
It's not a secret anymore!