title: Setting Pooling Property on oracle.jdbc.pool.OracleDataSource
body: <p>I use the oracle.jdbc.pool.OracleDataSource for connection pooling. I would like the pool to check whether the connection was not closed properly and to catch it up. I tried the following:</p>
  
  <pre><code>ods = new OracleDataSource();
  
  ods.setConnectionCachingEnabled(true);
  ods.setConnectionCacheName(CACHE_NAME);
  
  Properties cacheProps = new Properties();
  cacheProps.setProperty("MinLimit", Integer.toString(1));
  cacheProps.setProperty("MaxLimit", Integer.toString(6));
  cacheProps.setProperty("InitialLimit", "1");
  cacheProps.setProperty("AbandonedConnectionTimeout", "2");
  
  ods.setConnectionCacheProperties(cacheProps);
  </code></pre>
  
  <p>I ckeck the active connections like this:</p>
  
  <pre><code>occm = OracleConnectionCacheManager.getConnectionCacheManagerInstance();
  occm.getNumberOfActiveConnections(CACHE_NAME);
  </code></pre>
  
  <p>If I dont close the connection in the application the pool is just filling up to 6, so  </p>
  
  <pre><code>cacheProps.setProperty("AbandonedConnectionTimeout", "2");
  </code></pre>
  
  <p>is not working. Why?</p>
  
  <p>Any hint would be appreciated</p>