This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connetion pool time exhausted for idle object on linux tomcat

 
GSReddy
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic