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/03 16:59:00 UTC

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

Marshall Schor created UIMA-5902:
------------------------------------

             Summary: 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: 3.0.0SDK, 2.10.2SDK
            Reporter: Marshall Schor
            Assignee: Marshall Schor
             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)