Uploaded image for project: 'Commons DBCP'
  1. Commons DBCP
  2. DBCP-472

infinite loop in PoolableConnection.isDisconnectionSqlException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.1
    • 2.2.0
    • None

    Description

      There is an infinite loop in PoolableConnection.isDisconnectionSqlException. If e.getNextException() == e, which happens to be the case for me (I'm mybatis). I think there should be a check around line 329 to see if e == e.getNextException() and if so, stop recursing.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tonyschwartz Tony Schwartz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: