Tomcat - Configuring maxThreads and acceptCount in Http connector

后端 未结 3 961
执念已碎
执念已碎 2021-01-12 09:14

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

3条回答
  •  [愿得一人]
    2021-01-12 09:45

    Note that the HTTP connector is for incoming HTTP requests, and unrelated to JDBC. You probably want to configure the JDBC connection pool separately, such as the connectionProperties for the JDBC connector: http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html

提交回复
热议问题