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)" <de...@uima.apache.org> on 2018/11/05 14:28:00 UTC

[jira] [Resolved] (UIMA-5902) use ThreadLocal Context Class Loader for loading UIMA resources

     [ https://issues.apache.org/jira/browse/UIMA-5902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marshall Schor resolved UIMA-5902.
----------------------------------
    Resolution: Fixed

> use ThreadLocal Context Class Loader for loading UIMA resources
> ---------------------------------------------------------------
>
>                 Key: UIMA-5902
>                 URL: https://issues.apache.org/jira/browse/UIMA-5902
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>    Affects Versions: 2.10.2SDK, 3.0.0SDK
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>            Priority: Major
>             Fix For: 3.0.1SDK, 2.10.3SDK
>
>
> A user has reported getting not-found when trying to load resources in a Tomcat environment, while the same application works fine when run as a separate application.
> Change the logic for finding UIMA resources via class loaders to consider, if a UIMA Extension class loader is not specified, the Thread Local Context Class Loader.  If that is used, and the resource is not found, for backwards compatibility, try to find using the system class loader.



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