Version 2

    When a connection is pulled from the pool, a new Exception() is created. If a connection is leaked, we can tell them exactly where it was opened. This feature is available since JBoss 3.2.2. From JBoss 3.2.6, you can list the stack trace from the JMX console.