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

          Lily Wei created issue -
          Lily Wei made changes -
          Field Original Value New Value
          Summary getParentLogger() doesn't work after the engine has been shut down once getParentLogger() wp work after the engine has been shut down once
          Lily Wei made changes -
          Summary getParentLogger() wp work after the engine has been shut down once getParentLogger() won't work after the engine has been shut down once
          Description The getParentLogger() function does not work after engine has been shutdown once. The getParentLogger() function will not work after engine has been shutdown once.
          Lily Wei made changes -
          Description The getParentLogger() function will not work after engine has been shutdown once. 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.
          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.
          Lily Wei made changes -
          Attachment DERBY-5029-1.diff [ 12470901 ]
          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.
          Lily Wei made changes -
          Attachment DERBY-5029-1.diff [ 12470907 ]
          Lily Wei made changes -
          Attachment DERBY-5029-1.diff [ 12470913 ]
          Hide
          Lily Wei added a comment -

          svn 1069981

          Show
          Lily Wei added a comment - svn 1069981
          Lily Wei made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Issue & fix info [Patch Available]
          Assignee Lily Wei [ lilywei ]
          Resolution Fixed [ 1 ]
          Knut Anders Hatlen made changes -
          Link This issue is duplicated by DERBY-5027 [ DERBY-5027 ]
          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 ]
          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.
          Knut Anders Hatlen made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Gavin made changes -
          Workflow jira [ 12552773 ] Default workflow, editable Closed status [ 12798991 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          2h 53m 1 Lily Wei 11/Feb/11 23:22
          Resolved Resolved Closed Closed
          856d 9h 57m 1 Knut Anders Hatlen 17/Jun/13 10:19

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development