Sessions are Reconnected After 10 Minutes

Document ID : KB000103815
Last Modified Date : 19/07/2018
Show Technical Document Details
Issue:
According the following documentation, sessions should remain active indefinitely (maxIdleTime = 0 and maxConnectionAge = 0) and they should test connectivity every 10 minutes with the following request "select 1 from dual" (preferredTestQuery) to check if BD is alive. 

Currently, we see that all the sessions are reconnected in 10 minutes (600 seconds). 

We also checked the link : https://docops.ca.com/ca-api-gateway/9-3/en/reference/troubleshoot#Troubleshoot-Problem:JDBCconnectionfailures 
And this link : https://docops.ca.com/ca-api-gateway/9-3/en/security-configuration-in-policy-manager/tasks-menu-security-options/manage-jdbc-connections/jdbc-connection-properties. 
Resolution:
We normally recommend that our customers set their JDBC connection configurations to look like the following:

User-added image

NOTE: For each thread in the pool size, the Gateway will use 8MB of RAM to hold this connection - so for the example 8X15=120MB