uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Meghana <meghana.mara...@germinait.com>
Subject UIMA AS: ProcessCasErrors Timeout
Date Tue, 27 Sep 2011 14:14:21 GMT
Hi all,

We have an AS aggregate containing 10 colocated primitives, which works fine
in a non-AS setting. Some times one of the primitives waits in the monitor
(a synchronized block) for another, which never seems to come out of it!
Unfortunately, that code is not under our control, so i've set up timeouts
using asyncAggregateErrorConfiguration, and also a timeout parameter to

The client times out correctly if the reply takes too long, but the
annotators do not! Due to that, when the client sends a _different_ request
(reusing a CAS from the same cas pool) to the AS, it logs this:
11/09/27 19:47:26 INFO input.ProcessRequestHandler_impl: Duplicate Request
With Cas Reference Id: 639041f1:132ab384912:-7fe5 Received. Ignoring

And continues trying to process the older request (and remains stuck!).

What could be the problem? This is what my deployment descriptor looks like:
<analysisEngineDeploymentDescription xmlns="

    <description>Aggregate Analysis Engine Deployment</description>
    <vendor>Germinait Solutions</vendor>

    <deployment protocol="jms" provider="activemq">
    <casPool numberOfCASes="2" />
            <inputQueue endpoint="q_async_ae"
brokerURL="tcp://localhost:61616" />
                <import name="async.AsyncAnalysisAggregator" />

        <analysisEngine key="AnalysisAggregator" async="true">
                    <analysisEngine key="ActionableAnnotator">
                            <processCasErrors timeout="20000"
                                continueOnRetryFailure="true" />

Thanks a lot,


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message