Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-5902

use ThreadLocal Context Class Loader for loading UIMA resources

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10.2SDK, 3.0.0SDK
    • 3.0.1SDK, 2.10.3SDK
    • Core Java Framework
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              schor Marshall Schor
              schor Marshall Schor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: