Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.2.2AS
-
None
Description
dd2spring determines if a component is a Cas Multiplier by checking the component's descriptor outputsNewCASes property. If the component is a CM, the dd2spring generates spring xml artifacts to create a special cas pool to be used to create new CASes. For a Primitive CM, this is necessary. As the Primitive CM actually creates new CASes from an input CAS it needs the special cas pool. If the CM is an Aggregate, this special cas pool is not necessary. The aggregate CM outputs new CASes, but it doesnt create them. It uses a shadow CAS Pool (one per remote CM delegate) to deserialize CASes instead. The current dd2spring code generates a warning when parsing a deployment descriptor containing an aggregate CM:
-
-
- WARN: line-number: 34 deployment descriptor for analysisEngine: <key>Queue is for a CAS Multiplier (or Collection Reader wrapped as a CAS Multiplier). However, the <casMultiplier> element is missing. Defaulting to a poolSize of 1 for this case.
-
Attachments
Issue Links
- is part of
-
UIMA-1359 Strange warning message when deploying an Aggregate CM
- Closed