I am using UCP jar 11.2.0.3.0 for DB connection pool for oracle. Here are some DB connection configurations
<property name="datasource.connections.connectionHarvestTriggerCount">100</property>
<property name="datasource.connections.connectionHarvestMaxCount">50</property>
<property name="datasource.connections.min_size">5</property>
<property name="datasource.connections.max_size">500</property>
<property name="datasource.connections.idle_test_period">100</property>
<property name="datasource.connections.testConnectionOnCheckout">true</property>
<property name="datasource.connections.checkoutTimeout">60000</property>
<property name="datasource.connections.timeout">300</property>
<property name="datasource.connections.preferredTestQuery">SELECT 1 from dual</property>
<property name="datasource.max_statements">200</property>
<property name="datasource.connections.wait.timeout">3</property>
I am expecting is used connection count reached up to 400 harvesting should start and close 50 connections an place them back in to pool. But I am facing connection close exception even only 30-40 connections are in used. Is any configuration I am missing here?