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
@Rob this is the command: %CATALINA_HOME%\bin\startup.bat
Le dim. 9 oct. 2022 à 21:30, Rob Sargent a écrit :
>
>
> > On Oct 9, 2022, at 8:54 AM, Martin Moore
> wrote:
> >
> > @thomas.hoffm...@speed4trade.com.invalid
> > how to use the debugger in
> this
> > case ?any documentation pls ?
I have a Java 11 project embedding Tomcat:
```xml
org.apache.tomcat.embed
tomcat-embed-core
9.0.50
```
The Tomcat-specific code is in a subproject with only two classes. When
I compile using Maven 3.8.6 and Java 17 using `-Xlint:all`, I see the
following warning for that subproject:
> On Oct 9, 2022, at 8:54 AM, Martin Moore wrote:
>
> @thomas.hoffm...@speed4trade.com.invalid
> how to use the debugger in this
> case ?any documentation pls ?
> @Rob Sargent i posted most of the methods used in the app, but yes JVM is
> holding off on deleting the file...
I think this mi
@thomas.hoffm...@speed4trade.com.invalid
how to use the debugger in this
case ?any documentation pls ?
@Rob Sargent i posted most of the methods used in the app, but yes JVM is
holding off on deleting the file...
Le dim. 9 oct. 2022 à 17:31, Thomas Hoffmann (Speed4Trade GmbH)
a écrit :
> Hello
> 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
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
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 file ?
Le dim. 9 oct. 20
> -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
Hello Martin,
On Sun, Oct 9, 2022 at 7:03 PM Martin Moore wrote:
>
> the ProcessExplorer shows that a Java process is running on the file and
> this only after actually performing the delete from Java.
>
Sometimes Logstash gives me trouble like this.
Most probably some part of the app was still
the ProcessExplorer shows that a Java process is running on the file and
this only after actually performing the delete from Java.
Le dim. 9 oct. 2022 à 15:23, Thomas Hoffmann (Speed4Trade GmbH)
a écrit :
> Hello,
> this might be a behavior of the underlying OS.
> If the file is locked, it is ma
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
> ---
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
13 matches
Mail list logo