uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry Cwiklik (JIRA)" <uima-...@incubator.apache.org>
Subject [jira] Reopened: (UIMA-1439) Fix interemittent hangs in UIMA AS when stopping the JMS listener
Date Fri, 07 Aug 2009 21:03:14 GMT

     [ https://issues.apache.org/jira/browse/UIMA-1439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Jerry Cwiklik reopened UIMA-1439:

Fix a hang in the service listener that prevents the listener from stopping. ActiveMQ Scheduler
threads dont seem to stop and the code that checks for active threads is waiting for them
to stop. 

> 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.

View raw message