You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (JIRA)" <de...@uima.apache.org> on 2019/01/14 14:14:00 UTC

[jira] [Comment Edited] (UIMA-5957) JCasIterable and JCasIterator in SimplePipeline should use the same ResourceManager

    [ https://issues.apache.org/jira/browse/UIMA-5957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16742099#comment-16742099 ] 

Richard Eckart de Castilho edited comment on UIMA-5957 at 1/14/19 2:13 PM:
---------------------------------------------------------------------------

I don't get it. SimplePipeline doesn't internally use JCasIterable except in `iteratePipeline` (which is not used itself anywhere in SimplePipeline).

Can you provide a short sample code which illustrates your problem?


was (Author: rec):
I don't get it. SimplePipeline doesn't internally use JCasIterable except in `iteratePipeline`.

Can you provide a short sample code which illustrates your problem?

> JCasIterable and JCasIterator in SimplePipeline should use the same ResourceManager
> -----------------------------------------------------------------------------------
>
>                 Key: UIMA-5957
>                 URL: https://issues.apache.org/jira/browse/UIMA-5957
>             Project: UIMA
>          Issue Type: Improvement
>          Components: uimaFIT
>    Affects Versions: 2.4.0uimaFIT
>            Reporter: Peter Klügl
>            Priority: Major
>
> Using SimplePipeline with JCas cover classes and Ruta leads currently to class loader switching for each annotator since the JCas and the annotator refer to a different uima class loader due to the resource managers. Additionally, Ruta needs to perform internal reindexing, which can lead to observed but undefined problems.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)