Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-4773

UIMA DUCC: JP throws BindException on startup if port is not available

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0-Ducc
    • Component/s: DUCC
    • Labels:
      None

      Description

      On startup a JP throws
      java.net.BindException: Address already in use

      A JP starts a Camel route on a socket to listen for agent STOP requests. This route can fail if a socket port is not available.
      Change Agent to send SIGTERM signal to JP to force an orderly shutdown instead of sending a STOP request over a dedicated socket channel. with this change, the JP no longer needs to create a Camel route over socket listener. Instead it just needs to catch the SIGTERM signal, quiesce and stop.
      The Agent will send SIGKILL (-9) to a process that refuses to stop for SIGTERM.

        Attachments

          Activity

            People

            • Assignee:
              cwiklik Jerry Cwiklik
              Reporter:
              cwiklik Jerry Cwiklik
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: