When I am trying to delete a file which is present in tomcat server conf/Catalina/localhost from java code then file.delete() always returns false. But if I am checking the
Try temporarily to delete the file with java.nio.Files.delete, adding a try/catch block; execute, see what exception is thrown...
java.nio.Files.delete