Re: [EXTERNAL EMAIL] About granting permissions to Tomcat JVM

2022-10-20 Thread Niranjan Rao
Are you using FileInputStream or FileOutputSteam on the file and closing the stream before deletion? If so, change to Files.newInputSteam or Files.newOutputStream. One of our application (not a web application) was running out of file handles even though we were closing the file handles. Every

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 > t

Re: About granting permissions to Tomcat JVM

2022-10-09 Thread Martin Moore
ch might use a > >> MappedByteBuffer to read or write. > >> > >> > >>> > >>> Le dim. 9 oct. 2022 à 16:03, Thomas Hoffmann (Speed4Trade GmbH) > >>> a écrit : > >>> > >>>> > >>>>> -Ursprüng

Re: About granting permissions to Tomcat JVM

2022-10-09 Thread Rob Sargent
n in some other routines which might use a >> MappedByteBuffer to read or write. >> >> >>> >>> Le dim. 9 oct. 2022 à 16:03, Thomas Hoffmann (Speed4Trade GmbH) >>> a écrit : >>> >>>> >>>>> -Ursprüngliche Nachricht- >

Re: About granting permissions to Tomcat JVM

2022-10-09 Thread Martin Moore
; > > 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 > > > > >

Re: About granting permissions to Tomcat JVM

2022-10-09 Thread Rob Sargent
> On Oct 8, 2022, at 9:36 AM, Martin Moore wrote: > > 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

AW: About granting permissions to Tomcat JVM

2022-10-09 Thread Thomas Hoffmann (Speed4Trade GmbH)
ffm...@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 > > > and > > this > > > only after

Re: About granting permissions to Tomcat JVM

2022-10-09 Thread Martin Moore
dim. 9 oct. 2022 à 16:03, Thomas Hoffmann (Speed4Trade GmbH) a écrit : > > > -Ursprüngliche Nachricht- > > Von: Martin Moore > > Gesendet: Sonntag, 9. Oktober 2022 15:37 > > An: thomas.hoffm...@speed4trade.com.invalid; Tomcat Users List > > > > Betr

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 proces

Re: About granting permissions to Tomcat JVM

2022-10-09 Thread Suvendu Sekhar Mondal
Greetings, > > Thomas > > > > > -Ursprüngliche Nachricht- > > > Von: Martin Moore > > > Gesendet: Sonntag, 9. Oktober 2022 09:56 > > > An: Tomcat Users List ; ma...@apache.org > > > Betreff: Re: About granting permissions to Tomcat

Re: About granting permissions to Tomcat JVM

2022-10-09 Thread Martin Moore
--- > > Von: Martin Moore > > Gesendet: Sonntag, 9. Oktober 2022 09:56 > > An: Tomcat Users List ; ma...@apache.org > > Betreff: Re: About granting permissions to Tomcat JVM > > > > Hello Mark, > > > > I don't know if the SecurityManager is enabled or

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 09:56 > An: Tomcat Users List ; ma...@apache.org > Betreff: Re: About granting permissions to Tomcat JVM > > Hello Mark, > > I don't know if the SecurityManager is enabled

Re: About granting permissions to Tomcat JVM

2022-10-09 Thread Martin Moore
Hello Mark, I don't know if the SecurityManager is enabled or not (how to disable it btw?) I set the env var CATALINA_HOME to be C:/Program Files/Apache-Tomcat-8/ The files in question are stored in Desktop/SomeFolder Thanks. Le dim. 9 oct. 2022 à 08:00, Mark Thomas a écrit : > On 08/10/2022 1

Re: About granting permissions to Tomcat JVM

2022-10-08 Thread Mark Thomas
On 08/10/2022 17:36, Martin Moore wrote: 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

About granting permissions to Tomcat JVM

2022-10-08 Thread Martin Moore
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