File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Connetion pool time exhausted for idle object on linux tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Connetion pool time exhausted for idle object on linux tomcat " Watch "Connetion pool time exhausted for idle object on linux tomcat " New topic
Author

Connetion pool time exhausted for idle object on linux tomcat

GSReddy
Greenhorn

Joined: Aug 28, 2007
Posts: 10
I am trying to connect to mysql database using JDBC Connection pool in tomcat,when i run the application i get the following error:

Cannot get a connection, pool error Timeout waiting for idle object

The very first time i run the application in tomcat on linux system
i get Connection pool exhausted error even though the maxIdle and max
Active are set to infinite values

maxActive="0" maxIdle="-1"

please can i one help me how to solve this problem?

Thanks in advance
JavaDev
 
Consider Paul's rocket mass heater.
 
subject: Connetion pool time exhausted for idle object on linux tomcat
 
Similar Threads
cannot get connection, pool exhausted
org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhausted
Application hosted on Tomcat has datasource DBCP issues
Problem with Connection pool on linux
Database connection problem