Hello, I am facing a problem using Tomcat V8 with my J2ee app that deletes (using file.delete() Java 8) a file from disk (Windows). The file is actually deleting only on application level meaning that the application does not see the file anymore but if i open the folder i still see the file which is then locked by Java process. I only get the file to be removed physically when i close the Tomcat instance.
Does this problem relate to permissions in catalina.policy ? How to solve this?