Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-798

Leaking jdbc pool connection

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.0.11
    • 1.0.6, 1.0.7, 1.0.8, 1.0.9
    • logback-core
    • None

    Description

      method public void discoverConnectionProperties() of class ConnectionSourceBase.java getting connection from pool but don't close connection. Therefore connection don't return to pool. Every reconfigure logback.xml cause invoking discoverConnectionProperties(). And leaking happens.

      Seems in finally block it should be closing connection statement.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            viacheslav Sayevskiy Viacheslav
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: