Tag Archives: Tomcat

Tomcat Connection Pool Optimization

Tomcat Connection Pool LogoTomcat JDBC Connection Pool Tuning

In Tomcat 7, the default connection pool provider is DBCP.  The Tomcat authors obviously realized that this pooling implementation wasn’t ready for prime time, so they created their own implementation.  The team at Apache has done a very thorough job of outlining all the shortcomings of DBCP along with the features of their new implementation.

As of this writing, both Tomcat 7 and Tomcat 8 use the DBCP Connection Pool by default when you declare a Datasource as a <Resource/> in your context.xml.  Perhaps one day the production ready implementation will be the default.  Until then, frustrated DevOps Engineers will find this article useful and necessary.

Read more