Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
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