Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-2905

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.2.2.0, 10.3.1.4, 10.4.1.3
    • 10.8.1.2
    • JDBC
    • None
    • Normal
    • High Value Fix
    • 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.

      Attachments

        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
          Richard N. 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
          Richard N. Hillegas
        19. releaseNote.html
          5 kB
          Richard N. Hillegas
        20. releaseNote.html
          4 kB
          Richard N. 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
          Richard N. Hillegas

        Issue Links

          Activity

            People

              lilywei Lily Wei
              djd Daniel John Debrunner
              Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: