AW: About granting permissions to Tomcat JVM

2022-10-09 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello, > -Ursprüngliche Nachricht- > Von: Martin Moore > Gesendet: Sonntag, 9. Oktober 2022 17:59 > An: Tomcat Users List > Betreff: Re: About granting permissions to Tomcat JVM > > @thomas.hoffm...@speed4trade.com.invalid > how to use the debugger in > this case ?any documentation pl

AW: About granting permissions to Tomcat JVM

2022-10-09 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello, > About the methods i use in the application along with file.delete() (which is > what this post is about) I use File[] files = new > File("C:\\SomeFolder").listFiles(); > file.getName(); > file.lastModified() > Path path = Paths.get(fileName); > Would any of these cause the lock on the fi

AW: About granting permissions to Tomcat JVM

2022-10-09 Thread Thomas Hoffmann (Speed4Trade GmbH)
> -Ursprüngliche Nachricht- > Von: Martin Moore > Gesendet: Sonntag, 9. Oktober 2022 15:37 > An: thomas.hoffm...@speed4trade.com.invalid; Tomcat Users List > > Betreff: Re: About granting permissions to Tomcat JVM > > the ProcessExplorer shows that a Java process is running on the file

AW: About granting permissions to Tomcat JVM

2022-10-09 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello, this might be a behavior of the underlying OS. If the file is locked, it is marked for deletion and when the file lock is released, the file is physically deleted. Maybe you can check with ProcessExplorer from MS whether there is an open file handle on this file. Greetings, Thomas > ---