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

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

    XMLWordPrintableJSON

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.

      Attachments

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

        Issue Links

          Activity

            People

              mamtas Mamta A. Satoor
              mamtas Mamta A. Satoor
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: