UIMA AS client hangs when the last CAS sent in the process() method times out
-----------------------------------------------------------------------------
Key: UIMA-919
URL: https://issues.apache.org/jira/browse/UIMA-919
Project: UIMA
Issue Type: Bug
Components: Async Scaleout
Reporter: Jerry Cwiklik
Fix For: 2.2.2S
When UIMA AS client process() method finishes sending all CASes it calls
collectionProcessComplete() which blocks on a CPC monitor until all CASes are
returned from the AS Service. If a timeout occurs on the last CAS, the timeout
handler never notifies the CPC monitor resulting in a hang. Fix the code so
that the timeout handler notifies the CPC monitor. Also, add a test case to
test the scenario.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.