Wednesday, July 10, 2013

BEA-001074 - A JDBC pool connection leak was detected

Description

Error message generated by the Oracle Weblogic server when detecting a JDBC Pool connection leak.

Sample Error

<Jul 2, 2013 11:52:13 AM EEST> <Warning> <JDBC>  <AppServer> <Finalizer> <<anonymous>> <> <BEA-001074> <A JDBC pool connection leak was detected. A connection leak occurs when a connection obtained from the pool was not closed explicitly by calling close() and then was disposed by the garbage collector and returned to the connection pool. The following stack trace at create shows where the leaked connection was created.

Possible causes

  • Your application code is not closing properly some JDBC connections in a finally {} clause.
  • A third party API that you are using is not properly closing some JDBC connections in a finally {} clause.

 References and Case Studies