You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org> on 2010/09/16 15:46:33 UTC
[jira] Closed: (UIMA-1872) UIMA AS Primitive Service
ResourceInitializationException is Silently Handled
[ https://issues.apache.org/jira/browse/UIMA-1872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jerry Cwiklik closed UIMA-1872.
-------------------------------
Resolution: Fixed
Modified UimaAsThreadFactory to log a Throwable that may occur while initializing AE. Also, added code to notify listeners of initialization failure via a callback. Added a new testcase to the extended test suite to force initialization failure of a AE
> UIMA AS Primitive Service ResourceInitializationException is Silently Handled
> -----------------------------------------------------------------------------
>
> Key: UIMA-1872
> URL: https://issues.apache.org/jira/browse/UIMA-1872
> Project: UIMA
> Issue Type: Bug
> Components: Async Scaleout
> Affects Versions: 2.3AS
> Reporter: Jerry Cwiklik
> Assignee: Jerry Cwiklik
>
> 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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.