Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-794

Fix file resource leak in CombinedResources (properties file) which keeps the Commons VFS jar file open.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0
    • None

    Description

      Fix file resource leak in CombinedResources (properties file) which keeps the Commons VFS jar file open.

      When you undeploy a web app that uses Commons VFS from Tomcat, Tomcat will not be able to delete the Commons VFS jar file.

      Tomcat reports the following FAIL from the manager UI:

      FAIL - Unable to delete [C:\Java\apache-tomcat-9.0.43\webapps\WebAppNameHere]. The continued presence of this file may cause problems.

       

      Then the only file left on disk is:

      C:\Java\apache-tomcat-9.0.43\webapps\WebAppNameHere\WEB-INF\lib\commons-vfs2-2.7.0.jar

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ggregory Gary D. Gregory
            ggregory Gary D. Gregory
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment