Connection pool sizing closes one aged connection when mcList.size() = poolMin
In org.objectweb.jonas.dbm.ConnectionManager.adjust(), when mcList.size() = poolMin, no connection should be removed from the pool but the connection list is still iterated and the first "aged" connection is removed and closed.
this is not coherent, if we still want to close aged connection, why only one at a time and if we do not want to close any connection, why doing it ?
if it is done on purpose (as we are at the minimum pool size, it may be wanted to close and reopen connections slowly) I think it should be explained in the source.
can anyone help me on this subject ?
Thanks
Yoann