I have made a few tweaks to the connection pool leak detection.
Put the capturestacktrace = true parameter ... and then the Ebean DataSource will get the stack element array when we get a connection.
If the pool runs out of connections it will reset itself (or you can call the reset manually) ... and at that point busy connections will be checked to see if they are possible connection pools.
Also when the connection pool is shutdown the information on the busy connections are also dumped.
It is logged and also send to sys err. It is sent to sys err because the loggers stop working early in a JVM shutdown.