Commons-Pool v1.4: GenericObjectPool/GenericKeyedObjectPoo The time-stamp is set in GenericKeyedObjectPool.ObjectTimestampPair.tstamp at the creation time of a pooled object, and it is never updated. The idle time is calculated in the evict() method, and that time is always larger than the actual idle time of the object sitting in the pool. Hence, objects are removed from the pool while they are eligible for reuse (according to the configuration). I believe the time-stamp has to be updated whenever an object is returned to the pool.
-nader
