RE: Question about APR

2017-11-07 Thread COURTAULT Francois
Hello Matthew, You mean the only added value of APR is for TLS when Java version doesn't support some cipher suites. Best Regards. -Original Message- From: Matthew Broadhead [mailto:matthew.broadh...@nbmlaw.co.uk] Sent: mardi 7 novembre 2017 11:20 To: users@tomee.apache.org Subject: Re:

Re: Question about APR

2017-11-07 Thread Matthew Broadhead
APR is essential if Java doesn't support the encryption algorithm of the SSL / TLS certificate provided by your Certificate authority. It allows Tomcat to be trusted by your OS to use the system libraries (e.g. OpenSSL).  The system libraries can also be faster under certain conditions.  Only a

Re: Question about APR

2017-11-07 Thread Romain Manni-Bucau
2017-11-07 10:43 GMT+01:00 COURTAULT Francois : > Hello Romain, > > Just to be sure. Your answer is: for production deployment, it is strongly > advised to install APR even if, regarding performance topic, the difference > between APR/HTTP is no more so significant. It i no more a high recommand

RE: Question about APR

2017-11-07 Thread COURTAULT Francois
Hello Romain, Just to be sure. Your answer is: for production deployment, it is strongly advised to install APR even if, regarding performance topic, the difference between APR/HTTP is no more so significant. So curiosity question: if APR doesn't bring so much performance increase, what is the

Re: Question about APR

2017-11-07 Thread Romain Manni-Bucau
Yes, it also uses a binary like protocol (header names are shorter etc) which was supposed to make requests faster but it is less and less relevant nowdays. Romain Manni-Bucau @rmannibucau | Blog | Old Blog | Github | LinkedIn 2017-11-07 10:31 GMT+01:00 Matthew Broadhead : > isn't APR just to a

Re: Question about APR

2017-11-07 Thread Matthew Broadhead
isn't APR just to allow Tomcat to use OpenSSL on the machine rather than using Java's encryption software?  It is not necessary unless you are setting up a secure connector.  If your Tomcat is behind Httpd then Httpd can serve the certificates for you On 07/11/2017 10:27, COURTAULT Francois wr

Re: Question about APR

2017-11-07 Thread Romain Manni-Bucau
Hi François, yes it is the case. Now on a pure performance point of view APR/HTTP is no more as significant as it was years ago. Romain Manni-Bucau @rmannibucau | Blog | Old Blog | Github | LinkedIn 2017-11-07 10:27 GMT+01:00 COURTAULT Francois : > Hello everyone, > > In the TomEE statup log,

Question about APR

2017-11-07 Thread COURTAULT Francois
Hello everyone, In the TomEE statup log, I can see this message : 27-Oct-2017 14:58:44.592 INFO [main] sun.reflect.DelegatingMethodAccessorImpl.invoke The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .