Track requests that does not close all the db connections that initially opened (Java & Oracle)

Even in a pooled connection based architecture I have seen situations where the problem was simply that the worker thread was not ‘returning’ the connection to the pool. This can be tracked using explicit instrumentation of the getConnection() and closeConnection() methods. Then build a BT that reports these values on a per URL basis. The culprit might just pop out. Of course as stated earlier there’s several iterations of this problem, and this technique might not catch them all. But with some creative instrumentation you should be able to track down the offending pattern.