Derby
  1. Derby
  2. DERBY-2905

Shutting down embedded Derby does not remove all code, the AutoloadDriver is left registered in the DriverManager.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 10.2.2.0, 10.3.1.4, 10.4.1.3
    • Fix Version/s: 10.8.1.2
    • Component/s: JDBC
    • Labels:
      None
    • Urgency:
      Normal
    • Issue & fix info:
      High Value Fix
    • Bug behavior facts:
      Regression

      Description

      After a shutdown of the embedded driver the AutoloadDriver is not unregistered from DriverManager. However it does not support any future loading of connections so it has no value in remaining registered. Since the DriverManager class will remain forever, this means the Derby code will remain forever in the JVM, even if Derby was loaded by a separate class loader.

      Regression from 10.1 since before the AutoloadedDriver the internal driver did unregister itself from the DriverManager on a shutdown.

      1. DERBY-2905_1.diff
        11 kB
        Lily Wei
      2. DERBY-2905_3.diff
        11 kB
        Lily Wei
      3. DERBY-2905_part2_1.diff
        8 kB
        Lily Wei
      4. DERBY-2905_part2_2_1.diff
        13 kB
        Lily Wei
      5. DERBY-2905_part2_2_2.diff
        3 kB
        Lily Wei
      6. DERBY-2905_part2_2_3.diff
        7 kB
        Lily Wei
      7. DERBY-2905_part2_2.diff
        13 kB
        Lily Wei
      8. derby-2905-01-aa-fixAutoloadedDriverReload.diff
        1.0 kB
        Rick Hillegas
      9. DERBY-2905-2.diff
        11 kB
        Lily Wei
      10. DERBY-2905v0.diff
        2 kB
        Ramin Moazeni
      11. DERBY-2905v0.stat
        0.1 kB
        Ramin Moazeni
      12. DERBY-2905v1.diff
        11 kB
        Ramin Moazeni
      13. DERBY-2905v1.stat
        0.4 kB
        Ramin Moazeni
      14. DERBY-2905v3.diff
        11 kB
        Ramin Moazeni
      15. DERBY-2905v3.stat
        0.5 kB
        Ramin Moazeni
      16. Main.java
        3 kB
        Ramin Moazeni
      17. Mainv1.java
        3 kB
        Ramin Moazeni
      18. releaseNote.html
        5 kB
        Rick Hillegas
      19. releaseNote.html
        5 kB
        Rick Hillegas
      20. releaseNote.html
        4 kB
        Rick Hillegas
      21. releaseNote.html
        4 kB
        Knut Anders Hatlen
      22. releaseNote.html
        5 kB
        Lily Wei
      23. releaseNote.html
        5 kB
        Lily Wei
      24. Repro2905.java
        4 kB
        Lily Wei
      25. ww.java
        0.6 kB
        Rick Hillegas

        Issue Links

          Activity

          Daniel John Debrunner created issue -
          Kathey Marsden made changes -
          Field Original Value New Value
          Urgency Urgent
          Rick Hillegas made changes -
          Urgency Urgent Normal
          Ramin Moazeni made changes -
          Assignee Ramin Moazeni [ moazeni ]
          Ramin Moazeni made changes -
          Attachment Main.java [ 12363559 ]
          Ramin Moazeni made changes -
          Attachment DERBY-2905v0.diff [ 12363563 ]
          Attachment DERBY-2905v0.stat [ 12363564 ]
          Ramin Moazeni made changes -
          Attachment DERBY-2905v1.diff [ 12363945 ]
          Attachment DERBY-2905v1.stat [ 12363946 ]
          Ramin Moazeni made changes -
          Attachment Mainv1.java [ 12363973 ]
          Ramin Moazeni made changes -
          Attachment DERBY-2905v3.stat [ 12363985 ]
          Attachment DERBY-2905v3.diff [ 12363984 ]
          Kathey Marsden made changes -
          Derby Info [Regression] [Patch Available, Regression]
          Kathey Marsden made changes -
          Derby Info [Regression, Patch Available] [Regression]
          Kathey Marsden made changes -
          Derby Categories [High Value Fix]
          Ramin Moazeni made changes -
          Assignee Ramin Moazeni [ moazeni ]
          Dag H. Wanvik made changes -
          Bug behavior facts [High Value Fix] [Regression]
          Dag H. Wanvik made changes -
          Issue & fix info [High Value Fix]
          Lily Wei made changes -
          Attachment DERBY-2905_1.diff [ 12467746 ]
          Attachment Repro2905.java [ 12467747 ]
          Lily Wei made changes -
          Assignee Lily Wei [ lilywei ]
          Lily Wei made changes -
          Attachment DERBY-2905-2.diff [ 12468858 ]
          Lily Wei made changes -
          Attachment DERBY-2905_3.diff [ 12469435 ]
          Lily Wei made changes -
          Attachment DERBY-2905_part2_1.diff [ 12469880 ]
          Rick Hillegas made changes -
          Attachment ww.java [ 12470498 ]
          Lily Wei made changes -
          Attachment DERBY-2905_part2_2.diff [ 12470591 ]
          Lily Wei made changes -
          Attachment DERBY-2905_part2_2_1.diff [ 12470675 ]
          Lily Wei made changes -
          Attachment DERBY-2905_part2_2_2.diff [ 12470678 ]
          Lily Wei made changes -
          Attachment DERBY-2905_part2_2_3.diff [ 12470779 ]
          Rick Hillegas made changes -
          Lily Wei made changes -
          Attachment releaseNote.html [ 12471104 ]
          Lily Wei made changes -
          Attachment releaseNote.html [ 12471113 ]
          Lily Wei made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 10.8.0.0 [ 12315561 ]
          Resolution Fixed [ 1 ]
          Knut Anders Hatlen made changes -
          Attachment releaseNote.html [ 12472298 ]
          Rick Hillegas made changes -
          Attachment releaseNote.html [ 12472325 ]
          Rick Hillegas made changes -
          Link This issue incorporates DERBY-5085 [ DERBY-5085 ]
          Rick Hillegas made changes -
          Attachment releaseNote.html [ 12472676 ]
          Rick Hillegas made changes -
          Attachment releaseNote.html [ 12475813 ]
          Rick Hillegas made changes -
          Fix Version/s 10.8.1.1 [ 12316356 ]
          Fix Version/s 10.8.1.0 [ 12315561 ]
          Rick Hillegas made changes -
          Fix Version/s 10.8.1.2 [ 12316362 ]
          Fix Version/s 10.8.1.1 [ 12316356 ]
          Knut Anders Hatlen made changes -
          Link This issue relates to DERBY-5316 [ DERBY-5316 ]
          Knut Anders Hatlen made changes -
          Link This issue is related to DERBY-6224 [ DERBY-6224 ]
          Gavin made changes -
          Workflow jira [ 12407750 ] Default workflow, editable Closed status [ 12802488 ]
          Knut Anders Hatlen made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Lily Wei
              Reporter:
              Daniel John Debrunner
            • Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development