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

Adam Lally commented on UIMA-607:
---------------------------------

For multiple instances of the same AE, which share a classpath and datapath, I 
don't see an issue.  We share ResourceManager instances among annotators all 
the time, so I don't see why there would be a problem here.  

It's not obvious to me, however, how you would actually accomplish this 
sharing, since the ResourceManager instances is created inside the 
PearAnalysisEngineWrapper, which is unaware of whether there might be other 
instances.

> Running PEAR class path switching code broken in multi-threading case (CPM)
> ---------------------------------------------------------------------------
>
>                 Key: UIMA-607
>                 URL: https://issues.apache.org/jira/browse/UIMA-607
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 2.2
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>
> The new facility in 2.2 to run a Pear, switching class paths, has threading 
> issues when run from a CPM in multiple threads.  Needs a code review and 
> fixes for case where CAS Pools are sharing one type system with all the CASes 
> in the pool.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to