Exception in Log files

2021-09-06 Thread Mohan T
Hi, We could see the below exception in log files . java.io.FileNotFoundException: apache-tomcat-8.5.35/lib/commons-cli.jar (No such file or directory) The file is not there in that location. How to get rid of this exception Thanks in advance Mohan DISCLAIMER: This communication contains inf

Re: AW: Orphaned thread by JNDIRealm / clearReferencesThreads reports memory leak

2021-09-06 Thread Mark Thomas
Hi Thomas. Got it. I think it would be best if you opened a Bugzilla entry for this. One view is that the JRE should not be doing this - or at least doing it in a way that doesn't run the risk of memory leaks in a Java EE / Jakarta EE environment. We have raised JRE bugs for issues like this

Re: Exception in Log files

2021-09-06 Thread Mark Thomas
On 06/09/2021 08:16, Mohan T wrote: Hi, We could see the below exception in log files . java.io.FileNotFoundException: apache-tomcat-8.5.35/lib/commons-cli.jar (No such file or directory) The file is not there in that location. How to get rid of this exception With the information you have

AW: AW: Orphaned thread by JNDIRealm / clearReferencesThreads reports memory leak

2021-09-06 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello Mark, thank you for taking a look at it and confirming the behaviour. I will file a bug as suggested. Thank you and have a good start into the new week! Thomas -Ursprüngliche Nachricht- Von: Mark Thomas Gesendet: Montag, 6. September 2021 09:36 An: users@tomcat.apache.org Betreff

AW: Exception in Log files

2021-09-06 Thread Thomas Hoffmann (Speed4Trade GmbH)
The library commons-cli is not related to Apache-Tomcat but a separate library: https://commons.apache.org/proper/commons-cli/download_cli.cgi Seems you are using program code or other libraries which depend on that missing library. That library should be included or added to your application.

Re: AW: AW: Orphaned thread by JNDIRealm / clearReferencesThreads reports memory leak

2021-09-06 Thread Mark Thomas
On 06/09/2021 08:47, Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello Mark, thank you for taking a look at it and confirming the behaviour. I will file a bug as suggested. Thanks, I see it. I have added my own comment. I'll give others some time to comment and aim to fix this for the October

JNDIRealm does not retry on read timeouts or closed connections

2021-09-06 Thread Osipov, Michael (LDA IT PLM)
Hi, disclaimer: this has not been explicitly verified on the JNDIRealm, but the code is very similar to my ActiveDirectoryRealm wich exposes the same behavior. The code in question: try { // Authenticate the specified username if possible principa

Re: JNDIRealm does not retry on read timeouts or closed connections

2021-09-06 Thread Mark Thomas
On 06/09/2021 09:52, Osipov, Michael (LDA IT PLM) wrote: My question is: Mark, you have direct access to JBS, would you be willing to file this issue directly or do you want me to file through bugreport.java.com first and when it arrives in JBS you could drop a comment that this also affects

Re: JNDIRealm does not retry on read timeouts or closed connections

2021-09-06 Thread Osipov, Michael (LDA IT PLM)
Am 2021-09-06 um 11:21 schrieb Mark Thomas: On 06/09/2021 09:52, Osipov, Michael (LDA IT PLM) wrote: My question is: Mark, you have direct access to JBS, would you be willing to file this issue directly or do you want me to file through bugreport.java.com first and when it arrives in JBS you

Calculate time to get a connection from JDBC Pool

2021-09-06 Thread Lasantha Samarakoon
Hi all, I am working on Tomcat JDBC Pools and I have a requirement that needs to calculate the total time it takes to get a connection from the JDBC pool. This is to cover the entire connection borrowing process (includes connection creation, setting up, validation, etc). The Tomcat version we are