RST on TCP level sent by Tomcat

2020-05-18 Thread Arshiya Shariff
Hi Team, Can you please help us with the below queries : 1. When does a http2 connection close ? We see that the keepAliveTimeout is 20 seconds by default, but it is not closing the connection on keepAliveTimeout. 2. How to keep the connections alive / How to enable ping frames to be sent to the

Apache Tomcat 7.0.104 released

2020-05-18 Thread Violeta Georgieva
The Apache Tomcat team announces the immediate availability of Apache Tomcat 7.0.104. Apache Tomcat is an open source software implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies. This release contains a number of bug fixes and improvemen

RST on TCP level sent by Tomcat

2020-05-18 Thread Arshiya Shariff
Hi Team, Can you please help us with the below queries : 1. When does a http2 connection close ? We see that the keepAliveTimeout is 20 seconds by default, but it is not closing the connection on keepAliveTimeout. 2. How to keep the connections alive / How to enable ping frames to be sent to t

Re: RST on TCP level sent by Tomcat

2020-05-18 Thread Mark Thomas
On 18/05/2020 11:01, Arshiya Shariff wrote: > Hi Team, > > Can you please help us with the below queries : There have been various timeout related fixes since 9.0.22. Please upgrade to 9.0.35 and re-test. > 1. When does a http2 connection close ? We see that the keepAliveTimeout is > 20 seconds

RE: RST on TCP level sent by Tomcat

2020-05-18 Thread Arshiya Shariff
Hi Mark, Thank you for the quick response. Please provide us a little more clarity on the 3rd query : 3. We see that RST is sent by tomcat on receiving http2 request, when does this happen ? >>> When things go wrong. E.g. when the client sends a request to a connection >>> that has been close

Re: RST on TCP level sent by Tomcat

2020-05-18 Thread Martin Grigorov
Hi Arshiya, On Mon, May 18, 2020 at 2:15 PM Arshiya Shariff wrote: > Hi Mark, > Thank you for the quick response. > > Please provide us a little more clarity on the 3rd query : > > 3. We see that RST is sent by tomcat on receiving http2 request, when > does this happen ? > >>> When things go wro

Re: RST on TCP level sent by Tomcat

2020-05-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Arshiya, On 5/18/20 05:42, Arshiya Shariff wrote: > Hi Team, Can you please help us with the below queries : > > 1. When does a http2 connection close ? We see that the > keepAliveTimeout is 20 seconds by default, but it is not closing > the connect

persistentmanager loads only part of session?

2020-05-18 Thread Jonathan Yom-Tov
Here's my setup: I have two Tomcats using PersistentManager with FileStore to store sessions on a NFS they both have access to. Inside the session there's an object which contains a map. I also have a request listener that logs the contents of the map on every request. I kill one Tomcat and I can

Query Related to org.apache.catalina.security.SecurityListener

2020-05-18 Thread Kushagra Bindal
Hi, We are planning to upgrade from apache tomcat from 8.5.24 to 8.5.53 version. During this process I found that in catalina.sh file below line which was commented in 8.5.24 version # Uncomment the following line to make the umask available when using the # org.apache.catalina.security.SecurityL

Re: persistentmanager loads only part of session?

2020-05-18 Thread Mark Thomas
On 18/05/2020 15:23, Jonathan Yom-Tov wrote: > Here's my setup: I have two Tomcats using PersistentManager with FileStore > to store sessions on a NFS they both have access to. Inside the session > there's an object which contains a map. I also have a request listener that > logs the contents of th

Re: CentOS Tomcat install seems to ignore setenv.sh

2020-05-18 Thread Coty Sutherland
On Wed, May 13, 2020 at 5:06 PM Patrick Baldwin wrote: > On Wed, May 13, 2020 at 1:31 PM Coty Sutherland > wrote: > > > Hi, > > > > Please see responses in line below. I'm top posting a bit because the > > thread got off in the weeds about permissions it seems, which are > important > > but not

Re: persistentmanager loads only part of session?

2020-05-18 Thread Jonathan Yom-Tov
I see the persisted copy in the file and it has two keys, so I don't think that's it. It's probably some sort of parallelism issue since it happens only occasionally, but the map is a ConcurrentHashMap, so I can't see how it would be overwritten. On Mon, 18 May 2020, 19:47 Mark Thomas, wrote:

Re: persistentmanager loads only part of session?

2020-05-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jonathan, On 5/18/20 12:52, Jonathan Yom-Tov wrote: > I see the persisted copy in the file and it has two keys, so I > don't think that's it. It's probably some sort of parallelism issue > since it happens only occasionally, but the map is a > Concu

Re: persistentmanager loads only part of session?

2020-05-18 Thread Jonathan Yom-Tov
I don't think that can happen. I'm using sticky session so the first server gets all requests, then I kill it and only then are requests routed to the second server. On Mon, 18 May 2020, 21:15 Christopher Schultz, < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > H

Tomcat and Qualsys QID: 87413

2020-05-18 Thread jonmcalexander
I hate bringing up old crap, but I just want to make sure I have everything covered on my end. As far as this QID, the dreaded Ghost Cat, and AJP, is there ANY special AJP configuration that should be done to make sure that this QID is mitigated for Tomcat 7.0.103, 8.5.53, and 9.0.33 and above c

Re: Tomcat and Qualsys QID: 87413

2020-05-18 Thread Mark Thomas
On 18/05/2020 21:45, jonmcalexan...@wellsfargo.com.INVALID wrote: > I hate bringing up old crap, but I just want to make sure I have everything > covered on my end. As far as this QID, the dreaded Ghost Cat, and AJP, is > there ANY special AJP configuration that should be done to make sure that

RE: Tomcat and Qualsys QID: 87413

2020-05-18 Thread jonmcalexander
-Original Message- From: Mark Thomas Sent: Monday, May 18, 2020 5:29 PM To: users@tomcat.apache.org Subject: Re: Tomcat and Qualsys QID: 87413 On 18/05/2020 21:45, jonmcalexan...@wellsfargo.com.INVALID wrote: > I hate bringing up old crap, but I just want to make sure I have everything

Strange occurrence with Tomcat running on an AWS EC2 instance

2020-05-18 Thread James H. H. Lampert
I'm hoping to get the one web server we still have on a cert we have to pay for switched over to Let's Encrypt, and so I cloned the server in question to a spot instance. The server in question is an EC2 instance running Amazon Linux (not Amazon Linux 2), with a Bitnami Trac/SVN stack on it, a

Re: Query Related to org.apache.catalina.security.SecurityListener

2020-05-18 Thread Martin Grigorov
Hi, On Mon, May 18, 2020 at 7:38 PM Kushagra Bindal wrote: > Hi, > > We are planning to upgrade from apache tomcat from 8.5.24 to 8.5.53 > version. During this process I found that in catalina.sh file below line > which was commented in 8.5.24 version > > # Uncomment the following line to make t