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

Pears and local External Resources

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core Java Framework
    • Labels:
      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

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

                Dates

                • Created:
                  Updated: