You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (Created) (JIRA)" <de...@uima.apache.org> on 2011/12/12 23:01:30 UTC
[jira] [Created] (UIMA-2309) UIMA AS not calling AE.destroy()
method on the same thread that initialized the AE
UIMA AS not calling AE.destroy() method on the same thread that initialized the AE
----------------------------------------------------------------------------------
Key: UIMA-2309
URL: https://issues.apache.org/jira/browse/UIMA-2309
Project: UIMA
Issue Type: Bug
Components: Async Scaleout
Reporter: Jerry Cwiklik
Assignee: Jerry Cwiklik
Fix For: 2.4.0AS
When stopping, UIMA AS doesnt call AE.destroy() method on the same thread that was used to initialize the AE. Also, UIMA AS thread factory (source of threads which process CASes) sets each thread as daemon resulting in a premature exit of a process. The jvm is free to exit if all threads complete their run() method or all remaining threads in the jvm are daemon threads. This premature exit prevents UIMA AS from completing call to destroy() method on each AE. Refactor code involved in UIMA AS process shutdown.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (UIMA-2309) UIMA AS not calling AE.destroy() method
on the same thread that initialized the AE
Posted by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-2309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jerry Cwiklik closed UIMA-2309.
-------------------------------
Resolution: Fixed
Modified to call AE.destroy() from the same thread that called initialize()
> UIMA AS not calling AE.destroy() method on the same thread that initialized the AE
> ----------------------------------------------------------------------------------
>
> Key: UIMA-2309
> URL: https://issues.apache.org/jira/browse/UIMA-2309
> Project: UIMA
> Issue Type: Bug
> Components: Async Scaleout
> Reporter: Jerry Cwiklik
> Assignee: Jerry Cwiklik
> Fix For: 2.4.0AS
>
>
> When stopping, UIMA AS doesnt call AE.destroy() method on the same thread that was used to initialize the AE. Also, UIMA AS thread factory (source of threads which process CASes) sets each thread as daemon resulting in a premature exit of a process. The jvm is free to exit if all threads complete their run() method or all remaining threads in the jvm are daemon threads. This premature exit prevents UIMA AS from completing call to destroy() method on each AE. Refactor code involved in UIMA AS process shutdown.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira