You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <ui...@incubator.apache.org> on 2007/10/30 13:41:50 UTC

[jira] Commented: (UIMA-607) Running PEAR class path switching code broken in multi-threading case (CPM)

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

Marshall Schor commented on UIMA-607:
-------------------------------------

In researching this, I discovered that when the CPM sets up a pipe line which contains a PEAR, the PearAnalysisEngineWrapper code constructs a unique Resource Manager for each instance, setting the classLoader and datapath from the pear's specification.  Can one Resource Manager be used (shared) among all 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.