You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2021/02/26 17:58:00 UTC

[jira] [Created] (VFS-794) Fix file resource leak in CombinedResources (properties file) which keeps the Commons VFS jar file open.

Gary D. Gregory created VFS-794:
-----------------------------------

             Summary: Fix file resource leak in CombinedResources (properties file) which keeps the Commons VFS jar file open.
                 Key: VFS-794
                 URL: https://issues.apache.org/jira/browse/VFS-794
             Project: Commons VFS
          Issue Type: Bug
            Reporter: Gary D. Gregory
            Assignee: Gary D. Gregory
             Fix For: 2.8.0


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*



--
This message was sent by Atlassian Jira
(v8.3.4#803005)