uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaroslaw Cwiklik <uim...@gmail.com>
Subject Re: UIMA-AS and CasManager.defineCasPool() was called twice by the same Analysis Engine
Date Tue, 23 Jun 2009 14:22:38 GMT
Jörn, I was able to replicate the problem and will address this soon.
Indeed, there is one CasManager instance that is shared by multiple AAE
instances causing the exception. Code in the CasManager should be changed to
prevent the exception. I will let you know when this is fixed.

Jerry

On Mon, Jun 22, 2009 at 8:25 PM, Jörn Kottmann <kottmann@gmail.com> wrote:

> Hi,
>
> I looked a bit through the code and maybe found
> an issue not sure if it is related.
>
> In PrimitiveAnalysisEngineController_impl the AE instances
> are created in initializeAnalysisEngine with this call:
>
> UIMAFramework.produceAnalysisEngine(rSpecifier, paramsMap);
>
> If I got it right it should contain the PARAM_NUM_SIMULTANEOUS_REQUESTS
> parameter, but it doesn't. Is this a potential problem ?
> Though setting the parameter to 2 does not fix my problem.
>
> One more thing, is it possible that my two AAE instances share
> the same Cas Manager instance ?
>
> Jörn
>

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