Derby
  1. Derby
  2. DERBY-4304

Network Server shutdown should handle exceptions and finish the server shutdown completely

    Details

      Description

      While working on DERBY-4053, found that an exception from Connection.close was not handled properly by the server shutdown code which caused a new instance server startup to hang. Resolved the problem with Connection close but in general, we should
      1) Make sure an exception during shutdown processing does not prevent the remaining shutdown tasks, like closing the server socket from occurring.
      2) Make sure any exceptions that occur in shutdown processing are reported to the console.

      1. logBeforePatch3Changes.txt
        48 kB
        Mamta A. Satoor
      2. logAfterPatch3Changes.txt
        54 kB
        Mamta A. Satoor
      3. DERBY4304ShutdownException_patch3_diff.txt
        10 kB
        Mamta A. Satoor
      4. DERBY4304_handleExceptions_patch1_diff.txt
        5 kB
        Mamta A. Satoor
      5. DERBY4304_fixNPE_patch2_diff.txt
        3 kB
        Mamta A. Satoor

        Issue Links

          Activity

          Gavin made changes -
          Workflow jira [ 12470387 ] Default workflow, editable Closed status [ 12799083 ]
          Kathey Marsden made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Mamta A. Satoor made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Mamta A. Satoor made changes -
          Fix Version/s 10.3.3.1 [ 12313143 ]
          Mamta A. Satoor made changes -
          Fix Version/s 10.4.2.1 [ 12313401 ]
          Mamta A. Satoor made changes -
          Fix Version/s 10.5.3.1 [ 12314182 ]
          Fix Version/s 10.6.0.0 [ 12313727 ]
          Mamta A. Satoor made changes -
          Attachment logAfterPatch3Changes.txt [ 12416269 ]
          Attachment logBeforePatch3Changes.txt [ 12416270 ]
          Attachment DERBY4304ShutdownException_patch3_diff.txt [ 12416271 ]
          Mamta A. Satoor made changes -
          Attachment DERBY4304_fixNPE_patch2_diff.txt [ 12414650 ]
          Kathey Marsden made changes -
          Link This issue is related to DERBY-4310 [ DERBY-4310 ]
          Mamta A. Satoor made changes -
          Assignee Mamta A. Satoor [ mamtas ]
          Mamta A. Satoor made changes -
          Tiago R. Espinha made changes -
          Link This issue relates to DERBY-4306 [ DERBY-4306 ]
          Mamta A. Satoor made changes -
          Field Original Value New Value
          Link This issue is related to DERBY-4053 [ DERBY-4053 ]
          Mamta A. Satoor created issue -

            People

            • Assignee:
              Mamta A. Satoor
              Reporter:
              Mamta A. Satoor
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development