Re: OCSP with openSSL

2019-05-23 Thread Усманов Азат Анварович
Chris, Yes the version is the same in /usr/local/openssl/bin/openssl as well. It is the same version Tomcat uses,I get this info in the logs 23-May-2019 12:55:42.145 INFO [main] org.apache.catalina.core.AprLife cycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1a 20 Nov

Re: CONNECTION_CLOSED 200 Error with HTTP/2 Enabled

2019-05-23 Thread Tom Coudyzer
Hi Rémy, Many thanks for your tip! I added this parameter to the Connector and now it works! So it seems that the new async IO was causing the issue. First feeling is that response times are a little bit lower now but still better than HTTP/1.1 Should we see this as an issue in our code which re

Re: CONNECTION_CLOSED 200 Error with HTTP/2 Enabled

2019-05-23 Thread Tom Coudyzer
Hi Marc, Was indeed a pity that it was not resolved but I applied the asyncIO=false attribute to the Connector as Rémy suggested and it works now. So that's good news. Just asked him if this is an issue on our (code) side or if this is something that needs to be looked into/fixed. Ok, for the att

Re: CONNECTION_CLOSED 200 Error with HTTP/2 Enabled

2019-05-23 Thread Rémy Maucherat
On Thu, May 23, 2019 at 8:44 PM Tom Coudyzer wrote: > Hi, > > I tested with the 9.0.21-dev version and the issue is still there. > I attached two screenshots on what is happening in Chrome (same behavior > is present in Firefox). In Internet Explorer 11 there are no errors. > > While I wait on so

Re: CONNECTION_CLOSED 200 Error with HTTP/2 Enabled

2019-05-23 Thread Mark Thomas
On 23/05/2019 19:37, Tom Coudyzer wrote: > Hi,  > > I tested with the 9.0.21-dev version and the issue is still there. Drat.   > I attached two screenshots on what is happening in Chrome (same behavior > is present in Firefox). In Internet Explorer 11 there are no errors. Attachments are blocked

Re: 8.5.42 ETA?

2019-05-23 Thread Mark Thomas
On 23/05/2019 20:35, Scott Evans wrote: > Hi, any ETA on when 8.5.42 will be released? 8.5.x is on a roughly monthly release cycle. The typical pattern is that I (as the current release manager) start looking at the open bugs (not enhancements) against all Tomcat versions a few days before the en

8.5.42 ETA?

2019-05-23 Thread Scott Evans
Hi, any ETA on when 8.5.42 will be released? Thanks! Scott Evans

Re: CONNECTION_CLOSED 200 Error with HTTP/2 Enabled

2019-05-23 Thread Tom Coudyzer
Hi, I tested with the 9.0.21-dev version and the issue is still there. I attached two screenshots on what is happening in Chrome (same behavior is present in Firefox). In Internet Explorer 11 there are no errors. While I wait on some feedback will try to find out how I can enable the logging (wit

Re: CONNECTION_CLOSED 200 Error with HTTP/2 Enabled

2019-05-23 Thread Tom Coudyzer
Thanks Mark. We will test and report back. /Tom On Thu, May 23, 2019 at 3:42 PM Mark Thomas wrote: > On 23/05/2019 11:52, Tom Coudyzer wrote: > > Hi Mark, > > > > Thanks for the info. > > > > If you say where we can download the test build we are happy to do that > and > > see if it makes any

Re: Running sudo from a servlet

2019-05-23 Thread Claude Brisson
You are right about your security concerns. I feel obliged to state that my use-case is perfectly valid and secure, the tomcat instance runs in a VPN and the sudoers file is properly configured to only allow access to a single user and a single command. Anyhow it's the kind of area where you b

Tomcat (TomEE)/9.0.12 (8.0.0-M1) JSF 2.3 - Empty Strings from form inputs expected as NULL

2019-05-23 Thread Ted Spradley
What is the current way of coercing empty string input fields to NULL With 9.0.12? This issue seems to come up with each new major version of EL/JSF. All of the previous work arounds are no longer producing null values. Surely I’m missing something obvious that has been published. Web.xml

Re: Migration from Tomcat 7 to 9 results in more open file descriptors

2019-05-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Florian, On 5/23/19 06:59, Florian Trimmel wrote: > After migrating from Tomact 7 to Tomcat 9.0.20 (running with same > Java Version 1.8.0_25) we have a problem with our JSF2 web > application on Linux RHEL 7. After some time we get Exceptions like

Re: CONNECTION_CLOSED 200 Error with HTTP/2 Enabled

2019-05-23 Thread Mark Thomas
On 23/05/2019 11:52, Tom Coudyzer wrote: > Hi Mark, > > Thanks for the info. > > If you say where we can download the test build we are happy to do that and > see if it makes any difference. http://people.apache.org/~markt/dev/v9.0.21-dev-d6d3b31/ > No problem if any (serious) issues can occur,

Re: CONNECTION_CLOSED 200 Error with HTTP/2 Enabled

2019-05-23 Thread Rémy Maucherat
On Thu, May 23, 2019 at 12:53 PM Tom Coudyzer wrote: > Hi Mark, > > Thanks for the info. > > If you say where we can download the test build we are happy to do that and > see if it makes any difference. > No problem if any (serious) issues can occur, we'll have the fire > extinguishers ready :-)

Migration from Tomcat 7 to 9 results in more open file descriptors

2019-05-23 Thread Florian Trimmel
Hi, After migrating from Tomact 7 to Tomcat 9.0.20 (running with same Java Version 1.8.0_25) we have a problem with our JSF2 web application on Linux RHEL 7. After some time we get Exceptions like this: java.io.FileNotFoundException: /f4m/tomcat/tomcat_f4mbs/webapps/ACM/WEB-INF/acm-config.xml

Re: CONNECTION_CLOSED 200 Error with HTTP/2 Enabled

2019-05-23 Thread Tom Coudyzer
Hi Mark, Thanks for the info. If you say where we can download the test build we are happy to do that and see if it makes any difference. No problem if any (serious) issues can occur, we'll have the fire extinguishers ready :-) Once again many thanks for your help, much appreciated! Regards, To

Re: Running sudo from a servlet

2019-05-23 Thread Olaf Kock
On 22.05.19 18:31, Christopher Schultz wrote: > Claude, > > On 5/21/19 14:20, Claude Brisson wrote: > > (responding to myself) > > > The culprit is the option > > > NoNewPrivileges=true > > > in the file > > /etc/systemd/system/multi-user.target.wants/tomcat8.service > > > When changed to false,

Re: CONNECTION_CLOSED 200 Error with HTTP/2 Enabled

2019-05-23 Thread Mark Thomas
On 23/05/2019 09:04, Tom Coudyzer wrote: > Hi, > > We analyzed the problem further and we have set up another version which is > using Tomcat 9.0.19. We don't have the issue anymore. So it looks like it's > caused by something that has changed between the two versions. Based on the > info I have i

Re: Configuring log format for console output (catalina.out)

2019-05-23 Thread Joan
Thanks Guido, I hope that with the rsyslog magic (see startmsg.regex="^[[:digit:]]{2}-[[:alpha:]]{3}-[[:digit:]]{4} [[:digit:]]{1,2}:[[:digit:]]{1,2}:[[:digit:]]{1,2}\\.[[:digit:]]{3}" for the reference), I will be able to group this messages, otherwise I'll jump into your solution. Joan Missat

Re: CONNECTION_CLOSED 200 Error with HTTP/2 Enabled

2019-05-23 Thread Tom Coudyzer
Hi, We analyzed the problem further and we have set up another version which is using Tomcat 9.0.19. We don't have the issue anymore. So it looks like it's caused by something that has changed between the two versions. Based on the info I have it looks like Chrome is stalling and getting too many