Re: Jasper Exception when using Tomcat 9 but works with Tomcat 5.5

2018-01-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sean, On 1/12/18 11:34 AM, Sean Brett wrote: > In case anyone else has such an issue, it appears that this was all > caused by the rt.jar in the webapps WEB-INF/lib directory. > > I removed that jar for one of the other webapps exhibiting the same

Re: Monitoring Tomcat JDBC Connection Pool with JConsole?

2018-01-12 Thread Jerry Malcolm
Thanks for the info.  But it appears that the mbean: org.apache.tomcat.jdbc.pool.jmx.ConnectionPool is not registered.  I found some code that collects info from this bean, and this mbean doesn't even show up when querying jmx in Tomcat.  I am running Tomcat 8.5.  I've tried googling and

Re: Jasper Exception when using Tomcat 9 but works with Tomcat 5.5

2018-01-12 Thread Sean Brett
In case anyone else has such an issue, it appears that this was all caused by the rt.jar in the webapps WEB-INF/lib directory. I removed that jar for one of the other webapps exhibiting the same issue and it resolved the issue. On 12/01/2018 14:38, "Sean Brett"

Re: Ajp Nio-thread stuck in loop and consuming a lot of cpu

2018-01-12 Thread tomcat
Hi. On 12.01.2018 11:06, Toom Andreas wrote: Hi André, Thanks for your reply! The Tomcat Connector connection_pool_timeout is specified in seconds and the Tomcat ajp connector connectionTimeout is specified in milliseconds so both sides have the same value. This is the recommended setting.

Re: internalProxies regex

2018-01-12 Thread Mark H. Wood
On Fri, Jan 12, 2018 at 12:31:39PM +0100, Harrie Robins wrote: > Wow, that will be great. And I think that many people would like this to be > implemented! > I volunteer to test this! > > Also, with many people fronting that machines with cloudflare / load > balancers, I think demand will

Re: Jasper Exception when using Tomcat 9 but works with Tomcat 5.5

2018-01-12 Thread Sean Brett
Comments at the bottom. (Spoiler alert: Good news!) On 11/01/2018 22:38, "Christopher Schultz" wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA256 > >Sean, > >On 1/11/18 11:58 AM, Sean Brett wrote: >> On 11/01/2018 15:48, "Christopher Schultz" >>

RE: internalProxies regex

2018-01-12 Thread Harrie Robins
Wow, that will be great. And I think that many people would like this to be implemented! I volunteer to test this! Also, with many people fronting that machines with cloudflare / load balancers, I think demand will increase for this. I could just write a valve to replace the mod_cloudflare

RE: Ajp Nio-thread stuck in loop and consuming a lot of cpu

2018-01-12 Thread Toom Andreas
Hi Mark, Thanks for the reply! We will try got get some additional info and get back to you as soon as possible! Best regards, Andreas -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: den 12 januari 2018 11:27 To: Tomcat Users List

Re: Ajp Nio-thread stuck in loop and consuming a lot of cpu

2018-01-12 Thread Mark Thomas
On 12/01/18 06:58, Toom Andreas wrote: > Hi, > > We are having an issue with an application running Apache Tomcat 8.0.47 using > Oracle Jvm 1.8.0.151 on Linux (RHEL 7). The Tomcat process is consuming cpu > at a constant high level even though there is a low amount of incoming > traffic. When

RE: Ajp Nio-thread stuck in loop and consuming a lot of cpu

2018-01-12 Thread Toom Andreas
Hi André, Thanks for your reply! The Tomcat Connector connection_pool_timeout is specified in seconds and the Tomcat ajp connector connectionTimeout is specified in milliseconds so both sides have the same value. This is the recommended setting. See quote from the link that your provided:

Re: Ajp Nio-thread stuck in loop and consuming a lot of cpu

2018-01-12 Thread tomcat
On 12.01.2018 07:58, Toom Andreas wrote: Hi, We are having an issue with an application running Apache Tomcat 8.0.47 using Oracle Jvm 1.8.0.151 on Linux (RHEL 7). The Tomcat process is consuming cpu at a constant high level even though there is a low amount of incoming traffic. When