Jerry Cwiklik created UIMA-2736:
-----------------------------------
Summary: UIMA-AS client may hang when sending CASes to remote CM
service
Key: UIMA-2736
URL: https://issues.apache.org/jira/browse/UIMA-2736
Project: UIMA
Issue Type: Bug
Components: Async Scaleout
Affects Versions: 2.4.0AS
Reporter: Jerry Cwiklik
Assignee: Jerry Cwiklik
Fix For: 2.4.1AS
Using UIMA-AS client sendAndReceive() API to send CASes to remote Cas
Multiplier can cause the client to hang. With the synchronous API, the client
is receiving child CASes from the CM and deserializes them using its internal
Cas Pool. The child CASes are never delivered to an application since the
callbacks are not supported for sync API. The code never releases the CASes
causing a hang in the client due to exhausted Cas Pool.
Modify the client code to ignore child CASes produced from an input CAS sent
via synchronous sendAndReceive(). While ignoring such CASes, the code should
still send FreeCasRequest to the remote CM to prevent the CM from starving its
Cas Pool. The new code should not attempt to deserialize child CASes and just
throw away the message containing serialized CAS.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira