Connection Pool Settings
The following parameters must be set as follows in the <Tomcat Home>\conf\server.xml file.
Tomcat 7
-
maxActive="200"
-
removeAbandonedTimeout="1200"
-
removeAbandoned="true"
-
logAbandoned="true"
-
accessToUnderlyingConnectionAllowed="true"
Tomcat 8 and above
-
maxTotal="200"
-
removeAbandonedTimeout="1200"
-
removeAbandonedOnBorrow="true"
-
logAbandoned="true"
WebSphere and WebLogic
The following parameters must be set as follows:
-
Connection Pool Initial Size = 20
-
Connection Pool Max Size = 200