There's a typo in PooledConnections
log.error( "Collection leak detected: there are " + allocationCount + " unclosed connections upon shutting down pool " + getUrl());
It should be Connection leak detected instead.