I use JBoss 3.2.3 + jBpm 2 (=>Hibernate 2 + c3p0). I reach the maximum number of connections allowed. Surely I open an hibernate session and forget to close it. I'd like to tune JBoss and see when sessions are created when I run my application in debug mode. Does anybody know a tool which I could use to see objects (database connections) created by the JBoss JVM ?