Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton 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