UIMA
  1. UIMA
  2. UIMA-2461

UIMA AS doesnt support deployment of colocated uima aggregate CM

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0AS
    • Component/s: Async Scaleout
    • Labels:
      None

      Description

      When deploying a co-located uima aggregate CM (async=false), the UIMA-AS throws an exception caused by:

      org.apache.uima.aae.error.AsynchAEException:
      org.apache.uima.UIMARuntimeException: AnalysisComponent "/<aggregate component>/" requested more CASes (1) than defined in its getCasInstancesRequired() method (0). It is possible that the AnalysisComponent is not properly releasing CASes when it encounters an error.

        Activity

        Hide
        Jerry Cwiklik added a comment -

        During initialization, the UIMA AS forces creation of a cas pool for each of its CMs. This is done to register a CM MBean with JMX, so that the cas pool configuration is visible in jConsole. For uima aggregate CM, cas pools are opaque and not accessible to UIMA AS. Each internal CM, has its own cas pool that is created and initialized by the ASB. Modified uima-as code to not force creation of a cas pool for uima aggregate CM.

        Show
        Jerry Cwiklik added a comment - During initialization, the UIMA AS forces creation of a cas pool for each of its CMs. This is done to register a CM MBean with JMX, so that the cas pool configuration is visible in jConsole. For uima aggregate CM, cas pools are opaque and not accessible to UIMA AS. Each internal CM, has its own cas pool that is created and initialized by the ASB. Modified uima-as code to not force creation of a cas pool for uima aggregate CM.

          People

          • Assignee:
            Jerry Cwiklik
            Reporter:
            Jerry Cwiklik
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development