UIMA
  1. UIMA
  2. UIMA-2388

UIMA AS service doesnt terminate when its error handling threshold is exceeded

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0AS
    • Component/s: Async Scaleout
    • Labels:
      None

      Description

      When UIMA AS service error threshold is exceeded and action=terminate, the process does not seem to exit. Spin a dedicated shutdown thread and allow the process to cleanup and terminate. If the process does not stop due to one of AEs being stuck in process(), the error handler will call System.exit() after 30 seconds.

        Activity

        Hide
        Jerry Cwiklik added a comment -

        Modified UIMA AS service to self-destruct via System.exit() when an error threshold is exceeded and action=terminate if the process doesnt stop on its own. Also, before stopping send a reply back to the client with an exception that caused the error handler to terminate the process. Modified extended jUnit tests to disable call to System.exit() when action=terminate.

        Show
        Jerry Cwiklik added a comment - Modified UIMA AS service to self-destruct via System.exit() when an error threshold is exceeded and action=terminate if the process doesnt stop on its own. Also, before stopping send a reply back to the client with an exception that caused the error handler to terminate the process. Modified extended jUnit tests to disable call to System.exit() when action=terminate.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development