Re: NGINX + tomcat 8.0.35 (110: Connection timed out)

2020-11-11 Thread Martin Grigorov
On Wed, Nov 11, 2020 at 11:17 PM Ayub Khan wrote: > Chris, > > I was load testing using the ec2 load balancer dns. I have increased the > connector timeout to 6000 and also gave 32gig to the JVM of tomcat. I am > not seeing connection timeout in nginx logs now. No errors in kernel.log I > am not

Re: Timeout waiting to read data from client

2020-11-11 Thread Martin Grigorov
On Thu, Nov 12, 2020 at 12:34 AM Jerry Malcolm wrote: > On 11/9/2020 11:05 AM, Jerry Malcolm wrote: > > > > On 11/9/2020 3:10 AM, Mark Thomas wrote: > >> On 08/11/2020 01:33, Jerry Malcolm wrote: > >>> On 11/7/2020 6:56 PM, Christopher Schultz wrote: > Jerry, > > On 11/6/20 19:49,

Re: HTTP thread pool size remained high after database failover

2020-11-11 Thread Suvendu Sekhar Mondal
Thank you Chris for your response. On Wed, Nov 11, 2020 at 10:02 PM Christopher Schultz wrote: > > Suvendu, > > On 11/11/20 06:40, Suvendu Sekhar Mondal wrote: > > Application Setup: > > AdoptOpenJDK 1.8.192, Tomcat 7.0.55, Apache httpd, Windows 2012, SQL Server > > 2016 > > As Michael

Re: Something I still don't qutite understand, Re: Let's Encrypt with Tomcat behind httpd

2020-11-11 Thread Patrick Baldwin
Dr it really does not work On Thu, Nov 5, 2020, 12:07 PM James H. H. Lampert wrote: > On 8/24/20 9:57 AM, Christopher Schultz wrote: > > > So your RewriteCond[ition] is expected to always be true? Okay. Maybe > > remove it, then? BTW I think your rewrite will strip query strings and > > stuff

Re: Something I still don't quite understand, Re: Let's Encrypt with Tomcat behind httpd

2020-11-11 Thread James H. H. Lampert
On 8/21/20 1:02 PM, logo wrote: From my experience I have excluded .well-known from the redirect. That appears to be the correct answer. I probably didn't see that line back in August, or I probably would have replied by asking something like, "Ok, and how do I do that?" Be that as it

RE: Weirdest Tomcat Behavior Ever?

2020-11-11 Thread Eric Robinson
> -Original Message- > From: Mark Thomas > Sent: Monday, November 9, 2020 5:59 AM > To: users@tomcat.apache.org > Subject: Re: Weirdest Tomcat Behavior Ever? > > Eric, > > Time to prune the history and provide another summary I think. This > summary isn't complete. There is more

Re: Timeout waiting to read data from client

2020-11-11 Thread Jerry Malcolm
On 11/9/2020 11:05 AM, Jerry Malcolm wrote: On 11/9/2020 3:10 AM, Mark Thomas wrote: On 08/11/2020 01:33, Jerry Malcolm wrote: On 11/7/2020 6:56 PM, Christopher Schultz wrote: Jerry, On 11/6/20 19:49, Jerry Malcolm wrote: I have a relatively new environment with a standalone tomcat (8.5)

Re: NGINX + tomcat 8.0.35 (110: Connection timed out)

2020-11-11 Thread Ayub Khan
Chris, I was load testing using the ec2 load balancer dns. I have increased the connector timeout to 6000 and also gave 32gig to the JVM of tomcat. I am not seeing connection timeout in nginx logs now. No errors in kernel.log I am not seeing any errors in tomcat catalina.out. During regular

Re: Max heap size when using -XX:MaxRAMPercentage

2020-11-11 Thread Martynas Jusevičius
Christopher, thanks for your reply. Answers inline. > > What I see in the profiler is Max Heap Size 310378496 B, which is only 0.28 > > GiB. > > This is probably the maximum size of the /used/ heap. Can you confirm that? Nope. Netbeans profiler says: Max Heap Size 310378496 B, Max Used Heap

Re: Max heap size when using -XX:MaxRAMPercentage

2020-11-11 Thread Christopher Schultz
Martynas, On 11/11/20 10:20, Martynas Jusevičius wrote: I am attempting to make my webapps that run in Tomcat to take advantage of the Docker container-specific JVM options such as -XX:MaxRAMPercentage: https://www.eclipse.org/openj9/docs/xxinitialrampercentage/ TL;DR It allows specifying JVM

Re: HTTP thread pool size remained high after database failover

2020-11-11 Thread Christopher Schultz
Suvendu, On 11/11/20 06:40, Suvendu Sekhar Mondal wrote: Application Setup: AdoptOpenJDK 1.8.192, Tomcat 7.0.55, Apache httpd, Windows 2012, SQL Server 2016 As Michael pointed-out, these all need to be upgraded, but they are not affecting your experience, here. Observations: After

Max heap size when using -XX:MaxRAMPercentage

2020-11-11 Thread Martynas Jusevičius
Hi, I am attempting to make my webapps that run in Tomcat to take advantage of the Docker container-specific JVM options such as -XX:MaxRAMPercentage: https://www.eclipse.org/openj9/docs/xxinitialrampercentage/ TL;DR It allows specifying JVM heap as % of the container memory limit rather than

Re: Tomcat - Sentry configuration problem

2020-11-11 Thread Martin Grigorov
On Wed, Nov 11, 2020 at 3:16 PM Tamás Barta wrote: > Hi, > > > Why do you use 1.7.29 ? > > Because our company has a Sentry server supports this version of clients. > > > Do you specify this class name in logging.properties ? Is > this class in 1.7.29 ? > > Yes and yes. If I add sentry jars to

Re: Tomcat - Sentry configuration problem

2020-11-11 Thread Tamás Barta
Hi, > Why do you use 1.7.29 ? Because our company has a Sentry server supports this version of clients. > Do you specify this class name in logging.properties ? Is this class in 1.7.29 ? Yes and yes. If I add sentry jars to classpath, sentry works well. Exceptions are sent to the server and

Re: HTTP thread pool size remained high after database failover

2020-11-11 Thread Suvendu Sekhar Mondal
Hi Michael, On Wed, Nov 11, 2020 at 6:03 PM Michael Osipov wrote: > > Am 2020-11-11 um 12:40 schrieb Suvendu Sekhar Mondal: > > Hello Everyone, > > > > During database failover resiliency testing we noticed something > > unusual which we still cannot explain. So, reaching out to the > >

Re: HTTP thread pool size remained high after database failover

2020-11-11 Thread Michael Osipov
Am 2020-11-11 um 12:40 schrieb Suvendu Sekhar Mondal: Hello Everyone, During database failover resiliency testing we noticed something unusual which we still cannot explain. So, reaching out to the community for help. Application Setup: AdoptOpenJDK 1.8.192, Tomcat 7.0.55, Apache httpd,

HTTP thread pool size remained high after database failover

2020-11-11 Thread Suvendu Sekhar Mondal
Hello Everyone, During database failover resiliency testing we noticed something unusual which we still cannot explain. So, reaching out to the community for help. Application Setup: AdoptOpenJDK 1.8.192, Tomcat 7.0.55, Apache httpd, Windows 2012, SQL Server 2016 Observations: After database

Re: Tomcat - Sentry configuration problem

2020-11-11 Thread Martin Grigorov
Hi, On Wed, Nov 11, 2020 at 11:20 AM Tamás Barta wrote: > Hi, > > The ways you wrote is not usable, because they cause the following problem: > > Handler error > java.lang.ClassNotFoundException: io.sentry.jul.SentryHandler > at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

Re: Tomcat - Sentry configuration problem

2020-11-11 Thread Tamás Barta
Hi, The ways you wrote is not usable, because they cause the following problem: Handler error java.lang.ClassNotFoundException: io.sentry.jul.SentryHandler at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

Re: Tomcat - Sentry configuration problem

2020-11-11 Thread Martin Grigorov
Hi, On Wed, Nov 11, 2020 at 10:36 AM Tamás Barta wrote: > Hi, > > Now it is a Spring Boot web application project without embedded tomcat. > There is no library in war with javax.servlet api classes. There error is > the same: > > 11-Nov-2020 09:34:06.719 SEVERE [localhost-startStop-1] >

Re: Tomcat - Sentry configuration problem

2020-11-11 Thread Tamás Barta
Hi, Now it is a Spring Boot web application project without embedded tomcat. There is no library in war with javax.servlet api classes. There error is the same: 11-Nov-2020 09:34:06.719 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: