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

        Issue Links

          Activity

            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