Component: entityengine
      Class: GenericDAO.java
      Method: selectListIteratorByCondition

      Description:
      In case an exception is thrown after the SQLProcessor instance is created, a database connection is leaked because the SQLProcessor instance is not closed.

      Solution:
      The code after the createion of the SQLProcessor instance must be in try-catch block intercepting GenericEntityException and RuntimeException.
      In case of caught exception, the SQLProcessor instance must be closed and the exception re-thrown.

      Affected versions:
      This issue was discovered in our productive JIRA v. 6.1.3, but after looking at the source it is still present in 6.3.4

            [JRASERVER-39769] JIRA leaks DB connections

            No work has yet been logged on this issue.

              ohernandez@atlassian.com Oswaldo Hernandez (Inactive)
              aa1cc56303ab Svetlin Zarev
              Affected customers:
              1 This affects my team
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: