RE: Tomcat 8/NIO performance discrepancies

2017-06-06 Thread Piyush Kumar Nayak
Thanks, Mark. Here are some additional details. I am using Apache JMeter to inject load. I am using a simple hello-world JSP. The test JMX simulates 100 concurrent user threads with a ramp-up of 5 secs and uses an HTTP Cookie Manager, that reuses cookies for each user thread. I have disabled

Tomcat 8/NIO performance discrepancies

2017-06-06 Thread Piyush Kumar Nayak
We have been testing different connectors of tomcat for performance. We have tested the following server versions: - Tomcat 7.077 - Tomcat 8.0.44 - Tomcat 8.0.32 - Tomcat 8.5.14 with the following HTTP connectors: - BIO - BIO with

Re: Tomcat 8/NIO performance discrepancies

2017-06-06 Thread Mark Thomas
On 06/06/17 07:30, Piyush Kumar Nayak wrote: > We have been testing different connectors of tomcat for performance. > We have tested the following server versions: > > - Tomcat 7.077 > > - Tomcat 8.0.44 > > - Tomcat 8.0.32 > > - Tomcat 8.5.14 > > with the

[SECURITY] CVE-2017-5664 Apache Tomcat Security Constraint Bypass

2017-06-06 Thread Mark Thomas
Severity: Important Vendor: The Apache Software Foundation Versions Affected: Apache Tomcat 9.0.0.M1 to 9.0.0.M20 Apache Tomcat 8.5.0 to 8.5.14 Apache Tomcat 8.0.0.RC1 to 8.0.43 Apache Tomcat 7.0.0 to 7.0.77 Earlier, unsupported versions have not been analysed but are likely to be affected

Re: Error while starting Tomcat 8.5.14

2017-06-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Neha, On 6/5/17 6:14 PM, Neha Munjal wrote: > We could finally mange through this. Somehow, the SSLEngine > attribute was set as "off" in the AprLifecycleListener which did > not allow OpenSSL implementation to work. > > This is resolved now.

Re: Change of status code for ClientAbortExceptions - bug?

2017-06-06 Thread Thomas Eliassen
Is there some way to avoid having it logged as a 500 in the access log then? ClientAbortExceptions are so frequent that it really pollutes the access logs, drowns out 500s actually caused by the server side application, and makes monitoring and debugging based on the access logging a lot

RE: Tomcat 8/NIO performance discrepancies

2017-06-06 Thread Piyush Kumar Nayak
Violeta, The data you see in an average of 3 samples of 180 second duration each. Missed out on mentioning it before, but the thoughput is in no. of requests per second, and ART is in milliseconds. Thanks Piyush. -Original Message- From: Violeta Georgieva

Re: TLS handshake performance

2017-06-06 Thread Jeff Elsloo
Hi Mark, Apologies for the late reply on this, but I was the person that asked you this performance question at ApacheCon. We reviewed this thread and appreciate the analysis and discussion. The description below is accurate; we have short lived non-keep-alived clients, so we're keenly interested

Re: Change of status code for ClientAbortExceptions - bug?

2017-06-06 Thread Konstantin Kolinko
2017-06-07 0:10 GMT+03:00 Mark Thomas : > On 06/06/17 15:08, Thomas Eliassen wrote: >> >> Is there some way to avoid having it logged as a 500 in the access log then? > > At the moment, no. And my preference is to avoid creating new > configuration options unless we have to. > >>

Re: trimSpaces removing whitespace from html

2017-06-06 Thread Mark Thomas
On 29/05/17 09:43, Mark Thomas wrote: > On 29/05/17 09:09, David Kavanagh wrote: >> On 26 May 2017 at 22:33, Christopher Schultz >> wrote: >> >> Mark, >> >> On 5/26/17 6:59 AM, Mark Thomas wrote: > > > > This is a potential use case for a recently closed (as

Re: Tomcat 8/NIO performance discrepancies

2017-06-06 Thread Violeta Georgieva
Hi, 2017-06-06 11:10 GMT+03:00 Piyush Kumar Nayak : > > Thanks, Mark. > > Here are some additional details. > > I am using Apache JMeter to inject load. I am using a simple hello-world JSP. > > The test JMX simulates 100 concurrent user threads with a ramp-up of 5 secs

Re: tomcat 7, null tag attributes

2017-06-06 Thread Mark Thomas
On 31/05/17 23:31, Chris Cheshire wrote: > I am using tomcat 7 on CentOS 7 and I need to pass a null value to tag > attributes of type Long/Integer/Float, however it is *always* coerced to > zero. > > <%@attribute name="parentId" required="true" rtexprvalue="true" > type="java.lang.Long" %> > >

RE: Tomcat 8/NIO performance discrepancies

2017-06-06 Thread Piyush Kumar Nayak
Just realized that the comparison matrix formatting was lost earlier, so sharing it again. -

Re: Change of status code for ClientAbortExceptions - bug?

2017-06-06 Thread Mark Thomas
On 06/06/17 15:08, Thomas Eliassen wrote: > > Is there some way to avoid having it logged as a 500 in the access log then? At the moment, no. And my preference is to avoid creating new configuration options unless we have to. > ClientAbortExceptions are so frequent that it really pollutes the

Re: Tomcat 8.5.x/Openssl with custom keystore

2017-06-06 Thread Dave Neuman
Actually, it looks like the error I pasted above was actually my embedded tomcat not being able to find tc-native. Sorry for the noise, I will respond if/when I run into a different/"real" problem. --Dave On Tue, Jun 6, 2017 at 2:41 PM, Dave Neuman wrote: > Hey all, > I was

Tomcat 8.5.x/Openssl with custom keystore

2017-06-06 Thread Dave Neuman
Hey all, I was wondering if anyone has had any luck or could provide some guidance on using a custom keystore with tomcat 8.5.x and openssl? I am in the process of upgrading from tomcat 6.0.x using JSSE to tomcat 8.5.x using Openssl. As part of the upgrade process, I need to re-implement our