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

[dbcp] improved Exception nesting in ConnectionPool

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: PC

    • Bugzilla Id:
      33529

      Description

      (reported on commons-dev by Meikel Bisping on 26/01/2005)
      ----------------------------------------------------------
      I tried to establish a ConnectionPool with DBCP to an Informix
      Database using your examples.
      I always got the exeception "pool exhausted" when trying to open the
      first connection.
      I eventually found out during debugging that the problem was an older
      Informix driver (that is generally still in use, though).
      It didn't support read-only mode and threw an SQLException even when
      calling setReadOnly(false).
      It would be helpful for users if in cases like that the actual
      exception would be thrown, "pool exhausted" didn't help much.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dirkv Dirk Verbeeck
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: