Fix interemittent hangs in UIMA AS when stopping the JMS listener
-----------------------------------------------------------------

                 Key: UIMA-1439
                 URL: https://issues.apache.org/jira/browse/UIMA-1439
             Project: UIMA
          Issue Type: Bug
          Components: Async Scaleout
            Reporter: Jerry Cwiklik
            Assignee: Jerry Cwiklik


When stopping UIMA AS listener, the ThreadPoolTaskExecutor shutdown method is 
called and the code than waits for all threads managed by the executor to stop. 
The problem is that listener's stop method may be called from one of the 
threads that are being managed by the executor. The executor tries to stop the 
thread and the thread tries to stop the executor. This leads to a hang. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to