Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-1872

UIMA AS Primitive Service ResourceInitializationException is Silently Handled

    Details

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

      Description

      When deploying Uima AS Primitive service, a custom ThreadFactory is used to initialize each AE instance in its own thread. Once initialized, the AE instance is pinned to its thread. Subsequent process() calls will be done in the same thread that was used to initialize an AE. An exception thrown by AE during initialization propagates all the way to the custom ThreadFactory where it is silently ignored. Three bugs here:

      1) The exception must be logged in the UimaAsThreadFactory.newThread() method.
      2) Controller's callback listener must be called to notify the listener of initialization exception
      3) There is no testcase in extended test suite to expose this bug

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: