Derby
  1. Derby
  2. DERBY-5029

getParentLogger() won't work after the engine has been shut down once

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 10.7.1.1
    • Fix Version/s: 10.8.1.2
    • Component/s: JDBC
    • Labels:
      None
    • Environment:
      Windows 7 64 bits
    • Issue & fix info:
      Patch Available

      Description

      Plans for JDBC 4.1 implementation are dependent on Autoloader40 being loaded after shutdown so that the getParentLogger() function will work. The attached program ww.java provided by rick in discussions on DERBY-2905 show that AutoloadedDriver would get loaded instead. This will prevent getParentLogger() from working once implemented.

      1. DERBY-5029-1.diff
        4 kB
        Lily Wei
      2. DERBY-5029-1.diff
        4 kB
        Lily Wei
      3. DERBY-5029-1.diff
        4 kB
        Lily Wei

        Issue Links

          Activity

          Show
          Lily Wei added a comment - Rick has a suggestion for this fix on DERBY-2905 . https://issues.apache.org/jira/browse/DERBY-2905?focusedCommentId=12993676&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12993676 I will proceed with this suggestion. Thanks.
          Hide
          Lily Wei added a comment -

          Thanks Rick for the suggestion.

          I am uploading DERBY-5029-1.diff patch

          With this patch, getParentLogger() will work after the engine has been shut down once.
          Also, I modify some comments and AutoloadTest based on Dag's comment. https://issues.apache.org/jira/browse/DERBY-2905?focusedCommentId=12992533&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12992533

          jdbc4._Suite passed with this patch. Please review the patch. Thanks.

          Show
          Lily Wei added a comment - Thanks Rick for the suggestion. I am uploading DERBY-5029 -1.diff patch With this patch, getParentLogger() will work after the engine has been shut down once. Also, I modify some comments and AutoloadTest based on Dag's comment. https://issues.apache.org/jira/browse/DERBY-2905?focusedCommentId=12992533&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12992533 jdbc4._Suite passed with this patch. Please review the patch. Thanks.
          Hide
          Lily Wei added a comment -

          change makeAutoloadedDriver() from public to private as Rick's patch.

          Show
          Lily Wei added a comment - change makeAutoloadedDriver() from public to private as Rick's patch.
          Hide
          Lily Wei added a comment -

          svn 1069981

          Show
          Lily Wei added a comment - svn 1069981
          Hide
          Knut Anders Hatlen added a comment -

          [bulk update] Close all resolved issues that haven't been updated for more than one year.

          Show
          Knut Anders Hatlen added a comment - [bulk update] Close all resolved issues that haven't been updated for more than one year.

            People

            • Assignee:
              Lily Wei
              Reporter:
              Lily Wei
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development