Re: Tomcat 9 memory leak message

2024-06-04 Thread Christopher Schultz
Jenny, On 6/3/24 12:35, Ying Jin wrote: Chris, Thanks for your suggestion! Another question I would like to confirm with you is if we have to remove the ojdbc jar file from our web application’s web-inf/lib folder or not. The reason of our concern is that we need to use the same code base to

Re: Cannot invoke "org.apache.tomcat.util.net.SSLHostConfig.getProtocols()" because "this.sslHostConfig" is null

2024-06-04 Thread Christopher Schultz
Adam, On 6/3/24 04:16, Adam Danischewski wrote: Using Embedded Tomcat 10 in SpringBoot, trying to manually configure a new HTTPS/SSL port. I've got the following SSL bundle set in my application properties (fairly sure this part is working fine): > > [snip] Note: I am new to Tomcat and most

Invalid character found in the request target

2024-06-04 Thread Christoph Kukulies
I'm getting these when startig tomcat9: 04-Jun-2024 09:49:11.448 INFO [http-nio-8080-exec-6] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.

Re: Webapp Getting redirected to an external IP Address

2024-06-03 Thread Mark Thomas
On 04/06/2024 05:07, Tom Robinson wrote: Hi, We are running a tomcat7 application You do realise that support for Tomcat 7 ended on 31 March 2021 don't you? on our LAN which gets redirected from a private, internal IP Address to an external ip address at which point it fails. I can't find

Webapp Getting redirected to an external IP Address

2024-06-03 Thread Tom Robinson
Hi, We are running a tomcat7 application on our LAN which gets redirected from a private, internal IP Address to an external ip address at which point it fails. I can't find where this is happening. Where and what can I check for this redirect and how to control it or switch it off all together.

Re: Tomcat 9 memory leak message

2024-06-03 Thread Ying Jin
Terence, thanks for your reply! best, Jenny On Sun, Jun 2, 2024 at 3:11 AM Terence M. Bandoian wrote: > A long time ago (Tomcat 7), I would see a Tomcat memory leak detection > error on shutdown if the JDBC driver was located in WEB-INF/lib but not > if it was in the Tomcat lib directory.

Re: Tomcat 9 memory leak message

2024-06-03 Thread Ying Jin
Chris, Thanks for your suggestion! Another question I would like to confirm with you is if we have to remove the ojdbc jar file from our web application’s web-inf/lib folder or not. The reason of our concern is that we need to use the same code base to create a jar file and deploy it to stone

Re: Cannot invoke "org.apache.tomcat.util.net.SSLHostConfig.getProtocols()" because "this.sslHostConfig" is null

2024-06-03 Thread Adam Danischewski
Thanks for the quick response, I had hostname matching been banging my head on this for a while. I just fixed it - something is up with using a default constructor for SSLHostConfigCertificate (orig was new SSLHostConfigCertificate ()) and possibly with setting the keystore directly from the

Re: Cannot invoke "org.apache.tomcat.util.net.SSLHostConfig.getProtocols()" because "this.sslHostConfig" is null

2024-06-03 Thread Mark Thomas
On 03/06/2024 09:16, Adam Danischewski wrote: Not sure why I'm getting: Caused by: java.lang.NullPointerException: Cannot invoke "org.apache.tomcat.util.net.SSLHostConfig.getProtocols()" because "this.sslHostConfig" is null You haven't configured a default SSLHostConfig. Either use

Cannot invoke "org.apache.tomcat.util.net.SSLHostConfig.getProtocols()" because "this.sslHostConfig" is null

2024-06-03 Thread Adam Danischewski
Using Embedded Tomcat 10 in SpringBoot, trying to manually configure a new HTTPS/SSL port. I've got the following SSL bundle set in my application properties (fairly sure this part is working fine): spring.ssl.bundle.jks.rbupbundle.key.alias=RBup

Re: Tomcat 9 memory leak message

2024-06-02 Thread Terence M. Bandoian
A long time ago (Tomcat 7), I would see a Tomcat memory leak detection error on shutdown if the JDBC driver was located in WEB-INF/lib but not if it was in the Tomcat lib directory. Explicitly de-registering the driver with a ServletContextListener on shutdown eliminated the error. I'm not

Re: Tomcat 9 memory leak message

2024-06-02 Thread Christopher Schultz
Jenny, (Apologies for top-posting) “Safely ignored” can mean many things. You are only in danger of running out of heap space. So if you aren’t worried about that, feel free to ignore the error message. If it were my system, I would want to ensure a clean unload of the driver when the

Re: Tomcat 9 memory leak message

2024-06-01 Thread Ying Jin
Chris, Thanks so much for your suggestions! We use Oracle version 19. I read the post you mentioned and found that this warning message can be safely ignored. Please correct me if I'm wrong. Thanks again! Jenny On Sat, Jun 1, 2024 at 7:57 AM Thomas Hoffmann (Speed4Trade GmbH) wrote: >

AW: Tomcat 9 memory leak message

2024-06-01 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello Jenny, > -Ursprüngliche Nachricht- > Von: Ying Jin > Gesendet: Samstag, 1. Juni 2024 00:18 > An: Tomcat Users List > Betreff: Re: Tomcat 9 memory leak message > > Chris, > > Thanks for your reply! > > We already removed the ojdbc8.jar file from the application's Web-inf/lib >

Re: Tomcat 9 memory leak message

2024-05-31 Thread Ying Jin
Chris, Thanks for your reply! We already removed the ojdbc8.jar file from the application's Web-inf/lib folder as suggested in the following post, however, we still got the warning messages below after the application is deployed to the Tomcat 9 server.

Re: Tomcat 9 memory leak message

2024-05-31 Thread Christopher Schultz
Jenny, On 5/31/24 14:52, Ying Jin wrote: We removed the ojdbc8 driver jar from web-inf/lib from the web application and kept the ojdbc8 jar file in the Tomcat/lib folder, but we still can see the following memory link warning message whenever we redeploy the web application. We use the Tomcat

Tomcat 9 memory leak message

2024-05-31 Thread Ying Jin
We removed the ojdbc8 driver jar from web-inf/lib from the web application and kept the ojdbc8 jar file in the Tomcat/lib folder, but we still can see the following memory link warning message whenever we redeploy the web application. We use the Tomcat 9 server in the Linux environment. The other

RE: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-31 Thread Eric Robinson
Chris, > -Original Message- > From: Christopher Schultz > Sent: Friday, May 31, 2024 12:50 PM > To: users@tomcat.apache.org > Subject: Re: Database Connection Requests Initiated but Not Sent on the Wire > (Some, Not All) > > Eric, > > On 5/31/24 13:44, Eric Robinson wrote: > >>

Re: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-31 Thread Terence M. Bandoian
On 5/31/2024 11:44 AM, Mark Thomas wrote: On 31/05/2024 16:09, Eric Robinson wrote: The results are looking great so far. Excellent. Here's what we know: Before the patch, we had 2 load-balanced tomcats in production for this customer. Due to the driver search bottleneck, we were seeing

Re: Need help installing SSL certificate in tomcat keystore

2024-05-31 Thread Christopher Schultz
Mark, On 5/30/24 08:46, Fung-A-Fat, Mark wrote: I am running a java web app on windows 2019 server and need some help getting the SSL certificate installed into my keystore. I am running tomcat 9.x and java 11 I am able to generate a certificate request using both keytool and/or openssl

Re: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-31 Thread Christopher Schultz
Eric, On 5/31/24 13:44, Eric Robinson wrote: -Original Message- From: Christopher Schultz Sent: Friday, May 31, 2024 12:38 PM To: users@tomcat.apache.org Subject: Re: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All) Mark, On 5/31/24 12:44, Mark Thomas

RE: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-31 Thread Eric Robinson
> -Original Message- > From: Christopher Schultz > Sent: Friday, May 31, 2024 12:38 PM > To: users@tomcat.apache.org > Subject: Re: Database Connection Requests Initiated but Not Sent on the Wire > (Some, Not All) > > Mark, > > On 5/31/24 12:44, Mark Thomas wrote: > > On 31/05/2024 16:09,

Re: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-31 Thread Christopher Schultz
Mark, On 5/31/24 12:44, Mark Thomas wrote: On 31/05/2024 16:09, Eric Robinson wrote: The results are looking great so far. Excellent. Here's what we know: Before the patch, we had 2 load-balanced tomcats in production for this customer. Due to the driver search bottleneck, we were seeing

Re: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-31 Thread Christopher Schultz
Eric, On 5/31/24 11:09, Eric Robinson wrote: The results are looking great so far. Here's what we know: Before the patch, we had 2 load-balanced tomcats in production for this customer. Due to the driver search bottleneck, we were seeing hundreds of stuck threads during the slowdown

RE: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-31 Thread Eric Robinson
> -Original Message- > From: Mark Thomas > Sent: Friday, May 31, 2024 11:45 AM > To: users@tomcat.apache.org > Subject: Re: Database Connection Requests Initiated but Not Sent on the Wire > (Some, Not All) > > On 31/05/2024 16:09, Eric Robinson wrote: > > The results are looking great so

Re: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-31 Thread Mark Thomas
On 31/05/2024 16:09, Eric Robinson wrote: The results are looking great so far. Excellent. Here's what we know: Before the patch, we had 2 load-balanced tomcats in production for this customer. Due to the driver search bottleneck, we were seeing hundreds of stuck threads during the

RE: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-31 Thread Eric Robinson
The results are looking great so far. Here's what we know: Before the patch, we had 2 load-balanced tomcats in production for this customer. Due to the driver search bottleneck, we were seeing hundreds of stuck threads during the slowdown periods. To work around this problem, we threw more

RE: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-31 Thread Eric Robinson
Mark, > -Original Message- > From: Mark Thomas > Sent: Thursday, May 30, 2024 9:30 AM > To: users@tomcat.apache.org > Subject: Re: Database Connection Requests Initiated but Not Sent on the Wire > (Some, Not All) > > OK. > > This is an interim binary patch for 9.0.80 only. > > The

RE: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-30 Thread Eric Robinson
Hi Mark, > -Original Message- > From: Mark Thomas > Sent: Thursday, May 30, 2024 9:30 AM > To: users@tomcat.apache.org > Subject: Re: Database Connection Requests Initiated but Not Sent on the Wire > (Some, Not All) > > OK. > > This is an interim binary patch for 9.0.80 only. > > The

RE: Write listener question

2024-05-30 Thread joan.balaguero
Trying to simplify the code was a mistake ... private static final int WRITE_BUFFER_SIZE = 8 * 1024; <-- with 32K fails on this client private final AsyncContext ac; private final ServletResponse sr; private ServletOutputStream os; private boolean firstTime = true; private byte[]

Re: Write listener question

2024-05-30 Thread Chuck Caldarale
> On May 30, 2024, at 12:53, > wrote: > > isFirst is initialized to 'true' when the class is instantiated, so that > piece of code is just executed the first time the execution enters the ' > onWritePossible' method. Later, within the same 'if', 'isFirst' is set to > false, (not shown in the

RE: Write listener question

2024-05-30 Thread joan.balaguero
Hi Chuck, isFirst is initialized to 'true' when the class is instantiated, so that piece of code is just executed the first time the execution enters the ' onWritePossible' method. Later, within the same 'if', 'isFirst' is set to false, (not shown in the code, sorry) Perhaps this one client has

Re: Write listener question

2024-05-30 Thread Chuck Caldarale
> On May 30, 2024, at 08:47, > wrote: > > I have a NIO connector with an asynchronous servlet with its write listener > (working in both tomcat 8.5 and tomcat 10.1.20). > > @Override > public void onWritePossible() throws IOException { > > if (this.isFirst) { >this.os =

Re: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-30 Thread Konstantin Kolinko
ср, 29 мая 2024 г. в 13:34, Mark Thomas : > > > > It is also problem number 3. The reason it is expensive is that class > loaders don't cache misses so if a web application has a large number of > JARs, they all get scanned every time the DriverManager tries to create > a new connection. > > > The

Re: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-30 Thread Mark Thomas
OK. This is an interim binary patch for 9.0.80 only. The purpose is to: - confirm the proposed change fixes the problem - provide you with a workaround in the short term This is the binary patch: https://people.apache.org/~markt/dev/classloader-not-found-cache-9.0.80-v1.zip Extract the

Re: context.xml file location

2024-05-30 Thread Christopher Schultz
Hello, On 5/30/24 10:12, firstName lastName wrote: Renaming my context.xml to ROOT.xml (without changing the folder) fixed the problem. Thanks for the help! The best practice would be to put your context.xml file into your WAR file's META-INF/context.xml path. That way, it will be deployed

Re: context.xml file location

2024-05-30 Thread firstName lastName
Renaming my context.xml to ROOT.xml (without changing the folder) fixed the problem. Thanks for the help! On Thu, May 30, 2024 at 8:42 AM David Rush wrote: > I don't know about any docker-related differences, but > > I think that if you put a context config file under Catalina/localhost you

Write listener question

2024-05-30 Thread joan.balaguero
Hello, Sorry for the previous mail ... I have a NIO connector with an asynchronous servlet with its write listener (working in both tomcat 8.5 and tomcat 10.1.20). @Override public void onWritePossible() throws IOException { if (this.isFirst) { this.os =

Re: context.xml file location

2024-05-30 Thread David Rush
I don't know about any docker-related differences, but I think that if you put a context config file under Catalina/localhost you need to name the .xml file the same as your .war file. So if you have foo.war, then you'd have Catalina/localhost/foo.xml You can also put a file named

context.xml file location

2024-05-30 Thread firstName lastName
I am trying to setup JNDI for tomcat with a java webapp. I am using the official tomcat docker image (version 10.1.24-jdk21-temurin-jammy). However, I'm a bit confused about where to put the context.xml file. I tried putting it in /usr/local/tomcat/conf/Catalina/localhost/context.xml but tomcat

Need help installing SSL certificate in tomcat keystore

2024-05-30 Thread Fung-A-Fat, Mark
I am running a java web app on windows 2019 server and need some help getting the SSL certificate installed into my keystore. I am running tomcat 9.x and java 11 I am able to generate a certificate request using both keytool and/or openssl For both the CSR file looks like this, but the

Re: PersistentManager and ClassNotFoundException

2024-05-30 Thread Jakub Królikowski
Hi Christopher, On Thu, May 30, 2024 at 1:40 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Jakub, > > On 5/30/24 05:25, Jakub Królikowski wrote: > >> Where is your configuration located? It *should* be inside > >> your located in META-INF/context.xml in your web application.

Re: Write listener question

2024-05-30 Thread Christopher Schultz
Joan, Please don't hijack threads. Start a new message to the list without replying to an existing one. -chris On 5/30/24 06:03, joan.balagu...@ventusproxy.com wrote: Sorry, this issue happens with both Tomcat 8.5.x and 10.1.x. -Original Message- From:

Re: PersistentManager and ClassNotFoundException

2024-05-30 Thread Christopher Schultz
Jakub, On 5/30/24 05:25, Jakub Królikowski wrote: Where is your configuration located? It *should* be inside your located in META-INF/context.xml in your web application. If it's in there, then everything it does should be in the context (and ClassLoader) of your web application -- where your

Re: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-30 Thread Christopher Schultz
Eric, On 5/29/24 12:10, Eric Robinson wrote: -Original Message- From: Mark Thomas Sent: Wednesday, May 29, 2024 10:19 AM To: users@tomcat.apache.org Subject: Re: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All) On 29/05/2024 16:08, Eric Robinson wrote:

RE: Write listener question

2024-05-30 Thread joan.balaguero
Sorry, this issue happens with both Tomcat 8.5.x and 10.1.x. -Original Message- From: joan.balagu...@ventusproxy.com Sent: Thursday, May 30, 2024 11:57 AM To: 'Tomcat Users List' Subject: Write listener question Hello, I have a NIO connector with an asynchronous servlet with its

Write listener question

2024-05-30 Thread joan.balaguero
Hello, I have a NIO connector with an asynchronous servlet with its write listener. @Override public void onWritePossible() throws IOException { if (this.isFirst) { this.os = this.asyncContext.getResponse().getOutputStream(); this.startIdx = 0; this.endIdx = WRITE_BUFFER_SIZE;

Re: PersistentManager and ClassNotFoundException

2024-05-30 Thread Jakub Królikowski
Hello Chris, On Tue, May 28, 2024 at 6:38 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Jakub, > > On 5/24/24 09:31, Jakub Królikowski wrote: > > On Fri, May 24, 2024 at 11:23 AM Mark Thomas wrote: > > > >> Can you provide the simplest web application (with source) that > >>

Re: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-30 Thread Mark Thomas
On 29/05/2024 17:03, Eric Robinson wrote: One of the webapps is related to voice reminder messages that go out to people. The reminders go out sometime after 9 am, which tracks with the slowdowns. Ack. Something to try while I work on a patch is setting archiveIndexStrategy="bloom" on

RE: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-29 Thread Eric Robinson
> -Original Message- > From: Mark Thomas > Sent: Wednesday, May 29, 2024 10:19 AM > To: users@tomcat.apache.org > Subject: Re: Database Connection Requests Initiated but Not Sent on the Wire > (Some, Not All) > > On 29/05/2024 16:08, Eric Robinson wrote: > > > I believe your assessment

RE: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-29 Thread Eric Robinson
Hi Mark, > -Original Message- > From: Mark Thomas > Sent: Wednesday, May 29, 2024 10:10 AM > To: users@tomcat.apache.org > Subject: Re: Database Connection Requests Initiated but Not Sent on the Wire > (Some, Not All) > > On 29/05/2024 13:38, Eric Robinson wrote: > >> -Original

Re: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-29 Thread Mark Thomas
On 29/05/2024 16:08, Eric Robinson wrote: I believe your assessment is correct. How hard is it to enable pooling? Can it be bolted on, so to speak, through changes to the app context, such that the webapp itself does not necessarily need to implement special code? It looks like - from the

Re: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-29 Thread Mark Thomas
On 29/05/2024 13:38, Eric Robinson wrote: -Original Message- From: Mark Thomas I intend to wok on a patch for Tomcat that will add caching that should speed things up considerably. I hope to have something for Eric to test today but it might take me until tomorrow as I have a few

RE: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-29 Thread Eric Robinson
Mark, A few other thoughts come to mind. See below. > -Original Message- > From: Eric Robinson > Sent: Wednesday, May 29, 2024 7:39 AM > To: Tomcat Users List > Subject: RE: Database Connection Requests Initiated but Not Sent on the Wire > (Some, Not All) > > Hi Mark, > > > >

RE: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-29 Thread Eric Robinson
Hi Mark, > -Original Message- > From: Mark Thomas > Sent: Wednesday, May 29, 2024 5:35 AM > To: users@tomcat.apache.org > Subject: Re: Database Connection Requests Initiated but Not Sent on the Wire > (Some, Not All) > > On 29/05/2024 10:26, Mark Thomas wrote: > > On 28/05/2024 16:26,

Re: Query integrating Apache Tomcat with Azure Sentinel via a data connector on Azure Sentinel

2024-05-29 Thread Olaf Kock
Hi Kele, On 29.05.24 13:53, Kele Masemola wrote: Good day , We are trying to integrate Apache Tomcat with Azure Sentinel, we realized that the agent that needs to be installed on our Apache Tomcat machines will be deprecated in August 2024 and as such we would like to find out if there is

Query integrating Apache Tomcat with Azure Sentinel via a data connector on Azure Sentinel

2024-05-29 Thread Kele Masemola
Good day , We are trying to integrate Apache Tomcat with Azure Sentinel, we realized that the agent that needs to be installed on our Apache Tomcat machines will be deprecated in August 2024 and as such we would like to find out if there is another agent that will be provided to Microsoft as

Re: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-29 Thread Mark Thomas
On 29/05/2024 10:26, Mark Thomas wrote: On 28/05/2024 16:26, Eric Robinson wrote: Took a bunch of thread and heap dumps during today's painful debacle. Will send a link to those as soon as I can. Thanks. I have them. I have taken a look and I am starting to form a theory. To help with

Re: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-29 Thread Mark Thomas
On 28/05/2024 16:26, Eric Robinson wrote: Took a bunch of thread and heap dumps during today's painful debacle. Will send a link to those as soon as I can. Thanks. I have them. I have taken a look and I am starting to form a theory. To help with that I have a couple of questions. 1.

Re: PersistentManager and ClassNotFoundException

2024-05-28 Thread Christopher Schultz
Jakub, On 5/24/24 09:31, Jakub Królikowski wrote: On Fri, May 24, 2024 at 11:23 AM Mark Thomas wrote: Can you provide the simplest web application (with source) that replications the problem? Mark On 23/05/2024 23:45, Jakub Królikowski wrote: Hi, I'm working with Tomcat 10.1. When a

RE: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-28 Thread Eric Robinson
Hi Mark, See comments below. > -Original Message- > From: Mark Thomas > Sent: Tuesday, May 28, 2024 9:32 AM > To: Tomcat Users List > Subject: Re: Database Connection Requests Initiated but Not Sent on the Wire > (Some, Not All) > > Hi Eric, > > Follow-up observsations and comments

Re: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-28 Thread Mark Thomas
Hi Eric, Follow-up observsations and comments in-line. What time does this problem start? It typically starts around 9:15 am EDT and goes until around 10:30 am. Does that match the time of highest request load from the customer? Rather than a spike, I'm wondering if the problem is

RE: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-28 Thread Eric Robinson
Hi Mark, > -Original Message- > From: Mark Thomas > Sent: Tuesday, May 28, 2024 3:42 AM > To: users@tomcat.apache.org > Subject: Re: Database Connection Requests Initiated but Not Sent on the Wire > (Some, Not All) > > Hi Eric, > > I have a some follow-up questions in-line. I have also

Re: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-28 Thread Mark Thomas
Hi Eric, I have a some follow-up questions in-line. I have also read the other messages in this thread and added a couple of additional questions based on what I read in those threads. On 26/05/2024 02:58, Eric Robinson wrote: One of our hosting customers is a medical practice using a

RE: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-26 Thread Eric Robinson
Hi Chuck, > -Original Message- > From: Chuck Caldarale > Sent: Sunday, May 26, 2024 2:21 PM > To: Tomcat Users List > Subject: Re: Database Connection Requests Initiated but Not Sent on the Wire > (Some, Not All) > > > > On May 25, 2024, at 20:58, Eric Robinson wrote: > > > > One of

RE: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-26 Thread Eric Robinson
Hi Thomas, > -Original Message- > From: Thomas Hoffmann (Speed4Trade GmbH) > > Sent: Sunday, May 26, 2024 3:30 PM > To: Tomcat Users List > Subject: AW: Database Connection Requests Initiated but Not Sent on the Wire > (Some, Not All) > > Hello, > > > -Ursprüngliche Nachricht-

AW: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-26 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello, > -Ursprüngliche Nachricht- > Von: Chuck Caldarale > Gesendet: Sonntag, 26. Mai 2024 21:21 > An: Tomcat Users List > Betreff: Re: Database Connection Requests Initiated but Not Sent on the Wire > (Some, Not All) > > > > On May 25, 2024, at 20:58, Eric Robinson wrote: > > > >

Re: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-26 Thread Chuck Caldarale
> On May 25, 2024, at 20:58, Eric Robinson wrote: > > One of our hosting customers is a medical practice using a commercial EMR > running on tomcat+mysql. It has operated well for over a year, but users have > suddenly begun experiencing slowness for about an hour at the same time every >

RE: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-26 Thread Eric Robinson
Hi Thomas, > -Original Message- > From: Thomas Hoffmann (Speed4Trade GmbH) > > Sent: Sunday, May 26, 2024 2:52 AM > To: Tomcat Users List > Subject: AW: Database Connection Requests Initiated but Not Sent on the Wire > (Some, Not All) > > Hello Eric, > > > -Ursprüngliche

AW: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-26 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello Eric, > -Ursprüngliche Nachricht- > Von: Eric Robinson > Gesendet: Sonntag, 26. Mai 2024 03:59 > An: users@tomcat.apache.org > Betreff: Database Connection Requests Initiated but Not Sent on the Wire > (Some, Not All) > > One of our hosting customers is a medical practice using a

Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-25 Thread Eric Robinson
One of our hosting customers is a medical practice using a commercial EMR running on tomcat+mysql. It has operated well for over a year, but users have suddenly begun experiencing slowness for about an hour at the same time every day. During the slow times, we've done all the usual

Re: Deployment using directory

2024-05-25 Thread Mark Thomas
On 24/05/2024 19:28, Brandie Nickey wrote: Hi all, I am curious if there are any cons to deploying a webapp without using a war file. None. If you deploy a WAR Tomcat will (by default) unpack it and run it from the unpacked directory anyway. If you configure Tomcat to run from the packed

Re: PersistentManager and ClassNotFoundException

2024-05-25 Thread Mark Thomas
On 24/05/2024 14:31, Jakub Królikowski wrote: Hi Mark, It seems to me that this can be tested on any application. In Tomcat 10.1, if any session attribute is an instance of a new public class (unknown to Tomcat and to Tomcat class loader), implementing java.io.Serializable, then on reloading

Re: JVM crashing with caCertificatePath in server.xml

2024-05-25 Thread Andy Arismendi
Hi Michael, After re-reading my previous message, I realized it might have been ambiguous regarding whether I observed caCertificatePath working with or without your first posted file set from http://home.apache.org/~michaelo/issues/tomcat/openssl-crash/. To clarify, it was indeed your first

Deployment using directory

2024-05-24 Thread Brandie Nickey
Hi all, I am curious if there are any cons to deploying a webapp without using a war file. Our web app has just always traditionally been 'unzipped' as a set of folders within the Tomcat/webapps/ROOT directory. However I have been doing some troubleshooting using procmon.exe from

Re: PersistentManager and ClassNotFoundException

2024-05-24 Thread Jakub Królikowski
On Fri, May 24, 2024 at 11:23 AM Mark Thomas wrote: > Can you provide the simplest web application (with source) that > replications the problem? > > Mark > > > On 23/05/2024 23:45, Jakub Królikowski wrote: > > Hi, > > > > I'm working with Tomcat 10.1. > > > > When a user starts using the store

Re: PersistentManager and ClassNotFoundException

2024-05-24 Thread Mark Thomas
Can you provide the simplest web application (with source) that replications the problem? Mark On 23/05/2024 23:45, Jakub Królikowski wrote: Hi, I'm working with Tomcat 10.1. When a user starts using the store in my web application, I save the ShopCart object on the "cart" session

Re: Security Constraints and Session Timeout

2024-05-24 Thread Mark Thomas
On 23/05/2024 17:01, Jerry Malcolm wrote: I have some servlets that I can't put security constraints on at the web.xml level.  However, deep down in the code there are some places that I need a user to be logged in.  My overall UI ensures this all works by having certain JSPs with constraints

PersistentManager and ClassNotFoundException

2024-05-23 Thread Jakub Królikowski
Hi, I'm working with Tomcat 10.1. When a user starts using the store in my web application, I save the ShopCart object on the "cart" session attribute. I want the "cart" attributes to return to the session after restarting the app. To enable session persistence I added to the Context. It

Security Constraints and Session Timeout

2024-05-23 Thread Jerry Malcolm
I have some servlets that I can't put security constraints on at the web.xml level.  However, deep down in the code there are some places that I need a user to be logged in.  My overall UI ensures this all works by having certain JSPs with constraints that force the user to log in before

RE: Re: Tomcat Console - 401 Unauthorized

2024-05-23 Thread Garber, Frank
And the winner is: Chuck  I tried Chrome (instead of the Corporate mandated browser Edge) and I was right away challenged for credentials. Thanks for all those who responded. From: Chuck Caldarale Sent: Wednesday, May 22, 2024 4:36 PM To: Tomcat Users List Subject: {EXTERNAL} Re: Tomcat

Re: Tomcat Console - 401 Unauthorized

2024-05-22 Thread Chuck Caldarale
> On May 22, 2024, at 13:31, Garber, Frank > wrote: > > Not knowing how it’s supposed to behave, here’s another clue. When I click on > the “Server Status” button, I never get prompted for credentials. This sounds like a browser configuration problem. On the first attempt to access a

RE: Re: Tomcat Console - 401 Unauthorized

2024-05-22 Thread Garber, Frank
Not knowing how it’s supposed to behave, here’s another clue. When I click on the “Server Status” button, I never get prompted for credentials. Is it a permissions problem on the server itself. Like the server doesn’t have rights to the HTML pages? Thanks in advance, From: Garber, Frank Sent:

RE: Re: Tomcat Console - 401 Unauthorized

2024-05-22 Thread Garber, Frank
I’m not sure how the URLs got munged up. What I have on my side is valid XML, so I’m not worried about that. I’m really just concerned that the following isn’t working: Thanks in advance, From: Chuck Caldarale Sent: Wednesday, May 22, 2024 2:16 PM To: Tomcat Users List

Re: Tomcat Console - 401 Unauthorized

2024-05-22 Thread Chuck Caldarale
> On May 22, 2024, at 10:51, Garber, Frank > wrote: > > I've just installed Tomcat 9.0.89. > Tomcat runs, and I can get to the console at http://localhost:8080/ but, when > I click on "Server Status" I get the 401 Unauthorized page. > I've been editing the conf\tomcat-users.xml file

Tomcat Console - 401 Unauthorized

2024-05-22 Thread Garber, Frank
Hello Group, I've just installed Tomcat 9.0.89. First a the first few lines on the Catalina log: NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED

Re: Regarding Tomcat url redirection

2024-05-22 Thread lavanya tech
Hello Chris, Separate server.xml files means that you have to have two separate Tomcat processes. --> ofcourse, we defined two seperate processes for it but still there was some bug with Tomcat as the webpage is fluctuatiting. The best fix is to deploy the two applications normally without any

Re: JVM crashing with caCertificatePath in server.xml

2024-05-22 Thread Michael Osipov
On 2024/05/22 00:05:18 Andy Arismendi wrote: > Hi Micheal, you had asked to try these - > http://home.apache.org/~michaelo/issues/tomcat/openssl-crash/. I replaced my > files with these but Tomcat failed to start at this point with this message - > > 22-May-2024 00:02:30.808 INFO [main]

Re: JVM crashing with caCertificatePath in server.xml

2024-05-22 Thread Andy Arismendi
Michael, good news, it’s working now. Issue was on my end, was using a custom OpenSSL installer that was built with FIPS and it had also put the two openssl lib DLLs in Window System32, after fixing that Tomcat started without JVM crash with caCertificatePath set in server.xml. Thanks! -Andy

Re: JVM crashing with caCertificatePath in server.xml

2024-05-22 Thread Michael Osipov
On 2024/05/22 00:05:18 Andy Arismendi wrote: > Hi Micheal, you had asked to try these - > http://home.apache.org/~michaelo/issues/tomcat/openssl-crash/. I replaced my > files with these but Tomcat failed to start at this point with this message - > > 22-May-2024 00:02:30.808 INFO [main]

Re: JVM crashing with caCertificatePath in server.xml

2024-05-22 Thread Michael Osipov
On 2024/05/21 18:04:18 Christopher Schultz wrote: > Michael, > > On 5/21/24 03:32, Michael Osipov wrote: > > On 2024/05/20 13:30:43 Christopher Schultz wrote: > >> Michael, > >> > >> On 5/20/24 06:52, Michael Osipov wrote: > >>> On 2024/05/17 15:11:58 Christopher Schultz wrote: > Michael, >

Re: JVM crashing with caCertificatePath in server.xml

2024-05-21 Thread Andy Arismendi
Hi Micheal, you had asked to try these - http://home.apache.org/~michaelo/issues/tomcat/openssl-crash/. I replaced my files with these but Tomcat failed to start at this point with this message - 22-May-2024 00:02:30.808 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing

Re: JVM crashing with caCertificatePath in server.xml

2024-05-21 Thread Christopher Schultz
Michael, On 5/21/24 03:32, Michael Osipov wrote: On 2024/05/20 13:30:43 Christopher Schultz wrote: Michael, On 5/20/24 06:52, Michael Osipov wrote: On 2024/05/17 15:11:58 Christopher Schultz wrote: Michael, On 5/17/24 03:42, Michael Osipov wrote: On 2024/05/16 21:37:34 Christopher Schultz

Re: Win10 installation progress

2024-05-21 Thread Christopher Schultz
Hello, On 5/18/24 23:40, DdC wrote: Gave up on installing 9.0.88. on Win10. Why did you give up? ZIP installation is a single command (either via CMD or UI shell). EXE installer is pretty straightforward, too. There's also a third-party installer that has a few more features including the

Re: JVM crashing with caCertificatePath in server.xml

2024-05-21 Thread Rémy Maucherat
On Tue, May 21, 2024 at 9:33 AM Michael Osipov wrote: > > On 2024/05/20 13:30:43 Christopher Schultz wrote: > > Michael, > > > > On 5/20/24 06:52, Michael Osipov wrote: > > > On 2024/05/17 15:11:58 Christopher Schultz wrote: > > >> Michael, > > >> > > >> On 5/17/24 03:42, Michael Osipov wrote: >

Re: JVM crashing with caCertificatePath in server.xml

2024-05-21 Thread Michael Osipov
On 2024/05/20 13:30:43 Christopher Schultz wrote: > Michael, > > On 5/20/24 06:52, Michael Osipov wrote: > > On 2024/05/17 15:11:58 Christopher Schultz wrote: > >> Michael, > >> > >> On 5/17/24 03:42, Michael Osipov wrote: > >>> On 2024/05/16 21:37:34 Christopher Schultz wrote: > Michael, >

Re: JVM crashing with caCertificatePath in server.xml

2024-05-20 Thread Christopher Schultz
Michael, On 5/20/24 06:52, Michael Osipov wrote: On 2024/05/17 15:11:58 Christopher Schultz wrote: Michael, On 5/17/24 03:42, Michael Osipov wrote: On 2024/05/16 21:37:34 Christopher Schultz wrote: Michael, On 5/16/24 12:00, Michael Osipov wrote: On 2024/05/16 15:55:04 Andy Arismendi

Re: JVM crashing with caCertificatePath in server.xml

2024-05-20 Thread Michael Osipov
On 2024/05/17 15:11:58 Christopher Schultz wrote: > Michael, > > On 5/17/24 03:42, Michael Osipov wrote: > > On 2024/05/16 21:37:34 Christopher Schultz wrote: > >> Michael, > >> > >> On 5/16/24 12:00, Michael Osipov wrote: > >>> On 2024/05/16 15:55:04 Andy Arismendi wrote: > Ok great! Thank

Re: Win10 installation progress

2024-05-19 Thread DdC
n82...@gmail.com Dear Chuck Caldarale, THANKS for your help/ rolling up the sleeves now.       Some of us have just given up on Windows entirelySure.I have installed tomcat also on two unix boxes among which ubuntu,2019 before the transition now required.Dealing here with a legacy situation.[[[

Re: Win10 installation progress

2024-05-18 Thread Chuck Caldarale
> On May 18, 2024, at 22:40, DdC wrote: > > Gave up on installing 9.0.88. on Win10. Some of us have just given up on Windows entirely… > Succeeded with 10.1.23 andjdk-18.0.2.1.The lib directory has j2ee.jar, which > I have used in earliertomcat versions. Not lately. I can’t recall when

<    1   2   3   4   5   6   7   8   9   10   >