uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marshall Schor <...@schor.com>
Subject Re: UIMA AS: XXXCasMultiplier specifies a casMultipler element, but the analysisEngine is not a CAS multiplier
Date Wed, 26 Aug 2009 21:09:36 GMT


Jörn Kottmann wrote:
> *** ERROR: line-number: 21 deployment descriptor for analysisEngine:
> XXXCasMultiplier specifies a casMultipler element, but the
> analysisEngine is not a CAS multiplier
>
> Yes the casMultiplier element is specified for the AE in question, but
> its also a Cas Multiplier. Which UIMA AS
> later even prints out on the console:
> 37 >>>>>> CAS Multiplier::XXXCasMultiplier Initializing its Cas Pool
>
> Whats going wrong here ?

This message comes from the dd2spring.xsl transformation (see line 1886
in uima-as-distr/src/main/scripts/dd2spring.xsl).  It is issued when you
have a casMultiplier element (which you do), but the referenced AE
descriptor in the same position (in the case of nested aggregates,
etc.),  fails this xsl test:
<xsl:when
test="(string($local_ae_descriptor/*/u:analysisEngineMetaData/u:operationalProperties/u:outputsNewCASes)
eq 'true')
                        or
$local_ae_descriptor/u:collectionReaderDescription">

where $local_ae_descriptor is the part of the referenced main descriptor
corresponding to this part of the deployment descriptor.
Basically, it's looking to see that you have in the AE's metadata
"operationalProperties" element the outputsNewCASes set to true, or the
AE is defined as a collectionReader

Is this the case in your situation?  Can you post the part of the base
UIMA Descriptor that specifies it's a CAS Multiplier?
>
>
> Here is the part of the deploy descriptor which configures the Cas
> Multiplier:
> <analysisEngine key="HBaseCasMultiplier">
>  <casMultiplier poolSize="10"/>
> </analysisEngine>
>
> Jörn
>
> BTW, in the error message is a typo must be casMultiplier and not
> casMultipler element.
Thanks - fixed :-) -M
>
>

Mime
View raw message