https://bz.apache.org/bugzilla/show_bug.cgi?id=59859
--- Comment #5 from Coty Sutherland <csuth...@redhat.com> --- I updated the o.a.c.webresources.FileResource class and replaced the resource.delete() (because File.delete() throws no exceptions when it fails) with the following block: 110 try { 111 Path p = resource.toPath(); 112 Files.delete(p); 113 return true; 114 } catch (Exception e) { 115 log.error("There was an exception! " + e.getMessage()); 116 return false; 117 } Trying my test with this in place yields an the following message in the catalina.log: org.apache.catalina.webresources.FileResource.delete There was an exception! C:\apache-tomcat-8.0.36\webapps\webdavapp\hello.txt: The process cannot access the file because it is being used by another process. The process owning the file handle is the java process that tomcat is running in. It looks like tomcat doesn't grab the file handle until the request is made, but then never releases the handle whereas tomcat7 does (or never gets it). -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org