Re: Connection Closure due to Fatal Stream with HTTP2

2020-06-24 Thread Mark Thomas
On 22/06/2020 11:06, Chirag Dewan wrote: > Hi, > > Update: We found that Tomcat goes OOM when a client closes and opens new > connections every second. In the memory dump, we see a lot of > RequestInfo objects that are causing the memory spike. > > After a while, Tomcat goes OOM and start

AJP error using mod_proxy__ajp

2020-06-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I'm slowly switching from mod_jk to mod_proxy_ajp and I have a development environment where I'm getting Bad Gateway responses sent to clients along with this exception in my Tomcat log file: java.lang.IllegalArgumentException: Header message

Re: File "catalina.out" not being created/populated when using Tomcat 9.0.31 + Ubuntu 20.04, and content goes to the Ubuntu syslog instead?

2020-06-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Brian, On 6/23/20 21:33, Brian wrote: > > > -Original Message- From: Emmanuel Bourg > Reply-To: Tomcat Users List > Date: Tuesday, June 23, 2020 at 20:01 To: > "users@tomcat.apache.org" Subject: Re: > File "catalina.out" not being

Tomcat 9 and response.setTrailerFields

2020-06-24 Thread Julian Reschke
Hi, I just tried to figure out whether Tomcat 9 will let be send trailer fields in a chunked HTTP/1.1 response, using https://tomcat.apache.org/tomcat-9.0-doc/servletapi/javax/servlet/http/HttpServletResponse.html#setTrailerFields-java.util.function.Supplier- I couldn't get it to work yet,

Re: NullPointerException on statrup - possible bug in Tomcat

2020-06-24 Thread Konstantin Kolinko
ср, 24 июн. 2020 г. в 19:25, : > > I have a web application which is failing in RestEasy initialization with an > NPE. It worked for many years until I added a large number of jar > dependencies because of a new development effort. I've debugged the code by > stepping through the Tomcat source

Re: AJP error using mod_proxy__ajp

2020-06-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, On 6/24/20 10:29, Christopher Schultz wrote: > All, > > I'm slowly switching from mod_jk to mod_proxy_ajp and I have a > development environment where I'm getting Bad Gateway responses > sent to clients along with this exception in my Tomcat

Re: Connection Closure due to Fatal Stream with HTTP2

2020-06-24 Thread Mark Thomas
On 24/06/2020 12:17, Mark Thomas wrote: > On 22/06/2020 11:06, Chirag Dewan wrote: >> Hi, >> >> Update: We found that Tomcat goes OOM when a client closes and opens new >> connections every second. In the memory dump, we see a lot of >> RequestInfo objects that are causing the memory spike. >> >>

Re: Tomcat 9 and response.setTrailerFields

2020-06-24 Thread Julian Reschke
On 24.06.2020 17:13, Mark Thomas wrote: On 24/06/2020 15:59, Julian Reschke wrote: Hi, I just tried to figure out whether Tomcat 9 will let be send trailer fields in a chunked HTTP/1.1 response, using

Re: broken pipe error keeps increasing open files

2020-06-24 Thread Ayub Khan
Chris, If some open file is owned by nginx why would it show up if I run the below command sudo lsof -p $(cat /var/run/tomcat8.pid) On Wed, Jun 24, 2020 at 5:53 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Ayub, > > On

Re: broken pipe error keeps increasing open files

2020-06-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ayub, On 6/24/20 11:05, Ayub Khan wrote: > If some open file is owned by nginx why would it show up if I run > the below command> sudo lsof -p $(cat /var/run/tomcat8.pid) Because network connections have two ends. - -chris > On Wed, Jun 24,

Re: broken pipe error keeps increasing open files

2020-06-24 Thread Ayub Khan
Chris, Ok, I will investigate nginx side as well. Thank you for the pointers On Wed, 24 Jun 2020, 19:45 Christopher Schultz, < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > > Ayub, > > On 6/24/20 11:05, Ayub Khan wrote: > > If some open file is

Re: broken pipe error keeps increasing open files

2020-06-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ayub, On 6/23/20 19:17, Ayub Khan wrote: > Yes we have nginx as reverse proxy, below is the nginx config. We > notice this issue only when there is high number of requests, > during non peak hours we do not see this issue.> location >

NullPointerException on statrup - possible bug in Tomcat

2020-06-24 Thread tomcat-subs
I have a web application which is failing in RestEasy initialization with an NPE. It worked for many years until I added a large number of jar dependencies because of a new development effort. I've debugged the code by stepping through the Tomcat source to the point I've found where it is

Re: NullPointerException on statrup - possible bug in Tomcat

2020-06-24 Thread Mark Thomas
On 24/06/2020 17:25, tomcat-s...@stiprus.com wrote: > I have a web application which is failing in RestEasy initialization with an > NPE. It worked for many years until I added a large number of jar > dependencies because of a new development effort. I've debugged the code by > stepping through

Re: Tomcat 9 and response.setTrailerFields

2020-06-24 Thread Mark Thomas
On 24/06/2020 15:59, Julian Reschke wrote: > > Hi, > > I just tried to figure out whether Tomcat 9 will let be send trailer > fields in a chunked HTTP/1.1 response, using > >

Re: NullPointerException on statrup - possible bug in Tomcat

2020-06-24 Thread tomcat-subs
Problem resolved. Thank you. On Wed, Jun 24, 2020, at 12:46 PM, Konstantin Kolinko wrote: > ср, 24 июн. 2020 г. в 19:25, : > > > > I have a web application which is failing in RestEasy initialization with > > an NPE. It worked for many years until I added a large number of jar > > dependencies