What is the difference between maxActive vs. maxIdle for Tomcat connection pools?
maxActive is straight forward. maxIdle can be explained in this way – say you have 100 max Active connections and say you set maxIdle to 80. Assuming there are no requests going to the database, only 80 connections will be tested (via the validationquery) and will stay active. The other 20 will be closed. So … Read more