I currently have an application deployed using Tomcat that interacts with a Postgres database via JDBC. The queries are very expensive, so what I\'m seeing is a timeout caus
Keeping maxActive value (of db connection pooling) lesser than maxThreads (i.e. number of concurrent threads) makes sense in most of the cases. You can set acceptCount to a higher value depending upon what traffic you are expecting in your website and how fast one request can be processed.