4 Replies Latest reply on Mar 6, 2003 8:58 AM by David Jencks

    How to track JDBC connection leak?

    Samuel Rouiller Newbie

      Hi,

      I am facing a JDBC connection leak problem with my J2EE app running of JBoss 3.0.x and JDK 1.4.1_01. I already looked at the code to chack that all ResultSet, PreparedStatements and Connection are closed in finally blocks.

      Is there any other mean of tracking connection leaks in JBoss 3.0.x like enabling tracing of the connection pool or similar? I looked at the code of LocalTxConnectionManaged and related classes and it does not seem to log a lot.

      Any help about how to solve this will be greatly appreciated.

      Samuel