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 (JIRA)" <ui...@incubator.apache.org> on 2008/11/04 18:50:44 UTC

[jira] Closed: (UIMA-1216) UIMA AS Client Code Doesn't Release CAS While Handling Process Exception

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

Jerry Cwiklik closed UIMA-1216.
-------------------------------

    Resolution: Fixed

> UIMA AS Client Code Doesn't Release CAS While Handling Process Exception
> ------------------------------------------------------------------------
>
>                 Key: UIMA-1216
>                 URL: https://issues.apache.org/jira/browse/UIMA-1216
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>         Attachments: uimaj-as-jms-UIMA-1216-patch-Release-2-2-2.txt, uimaj-as-jms-UIMA-1216-patch.txt
>
>
> UIMA AS client framework code caches a CAS before sending (async) request to UIMA AS service. When the reply is received the CAS is retrieved from the cache, the client (user) code is called via a listener and the CAS is subsequently released.  For synchronous calls the user code is responsible for each CAS release. When a reply containing an exception is received (for both sync and async send), the exception handler notifies the user code but never releases the CAS. This may lead to hangs and may impact performance since some CASes are never released.

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