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

Pears and local External Resources

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Core Java Framework
    • None

    Description

      Currently, the design for External Resources presumes they can be used by any annotator, including those with a PEAR. This is supported by having UIMA load resources associated with External Resources using the main UIMA class loader, and in particular, not using the PEAR's special isolating class loader.

      This causes an issue if part of the PEAR code references the same classes as the external resource, and these are found in the PEAR class path. You end up with two different versions of the class, loaded under different class loaders (one the main UIMA class loader, the other, the special class loader for the PEAR), and things break.

      A possible fix is to treat external resource definitions that occur with a PEAR as only visible to that PEAR, and load them under the PEAR's class loader.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: