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)" <de...@uima.apache.org> on 2011/07/27 19:14:09 UTC

[jira] [Created] (UIMA-2188) UIMA AS service not releasing CAS if deserializer fails

UIMA AS service not releasing CAS if deserializer fails
-------------------------------------------------------

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


UIMA AS service should release a CAS back to its CAS pool when deserializer throws an exception. The method in question is deserializeCASandRegisterWithCache() in ProcessRequestHandler.java. It fetches CAS from a CAS pool before deserializing. If deserializer throws an exception, the deserializeCASandRegisterWithCache() returns that exception but never releases the CAS. Add try ... catch
and release the CAS if exception is thrown.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (UIMA-2188) UIMA AS service not releasing CAS if deserializer fails

Posted by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jerry Cwiklik closed UIMA-2188.
-------------------------------

    Resolution: Fixed

> UIMA AS service not releasing CAS if deserializer fails
> -------------------------------------------------------
>
>                 Key: UIMA-2188
>                 URL: https://issues.apache.org/jira/browse/UIMA-2188
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>             Fix For: 2.3.2AS
>
>
> UIMA AS service should release a CAS back to its CAS pool when deserializer throws an exception. The method in question is deserializeCASandRegisterWithCache() in ProcessRequestHandler.java. It fetches CAS from a CAS pool before deserializing. If deserializer throws an exception, the deserializeCASandRegisterWithCache() returns that exception but never releases the CAS. Add try ... catch
> and release the CAS if exception is thrown.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira