Some parameters for connection pool management are supported by commercial application servers could be very useful for JBoss JCA:
1. Aged timeout - the total amount of time which connection can be alive.
After this period connections are removed from the pool. Pay attention that it is not the same as IdleTimeout !!!
2. The conn-usage-limit - the limit of connection usage
(total number of connection life circles "allocate-release").
3. The reap-timeout (instead of IdleTimeout/2 ) - the time interval when connection must be checked by some external service.
Refactoring of IdleRemover and InternalManagedConnectionPool is able to simplify such extensions - see the previous thread