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

Destroy the ResourceManager on destroy of a pear

    XMLWordPrintableJSON

Details

    Description

      This bug is related to bug UIMA-5799 . The bug seems not completely fixed, since the files are still being accessed after trying to delete them. This behavior can be shown by the tool 'lsof' (see screenshot). There seems still access to the resources of a pear on the file system, which denies the complete deletion on the file system after uninstalling it (they are marked as deleted but are not actually removed).

       

      Potential cause:

      The class PearAnalysisEngineWrapper creates and caches resource managers. The elements in that Cache (Java map) are never explicitly removed, not even in the destroy method.

      Attachments

        1. Screenshot from 2018-12-18 08-34-10.png
          11 kB
          Philipp Butz
        2. UIMA-5935.diff
          1 kB
          Matthias Koch

        Issue Links

          Activity

            People

              schor Marshall Schor
              Philipp.Butz Philipp Butz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m