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

UIMA-AS listeners not shutting down cleanly

    Details

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

      Description

      While running extended tests I've noticed there were quite a few Exceptions coming from AMQ while uima-as service was shutting down. Traced this to code in UimaDefaultMessageListenerContainer.java that was doing this:

      __listenerRef.getSharedConnection().close();

      Since there are multiple instances of listeners, the connection was being closed while other listeners were still running causing the underlying AMQ code to complain as the connection was being yanked while in running state.
      Modified code to stop calling close on shared connection and instead call listener shutdown code that eventually closes the connection after the last listener stops.

        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: