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

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development