[ANN] Apache Tomcat 7.0.100 released

2020-02-14 Thread Violeta Georgieva
The Apache Tomcat team announces the immediate availability of Apache Tomcat 7.0.100. Apache Tomcat is an open source software implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies. This release contains a number of bug fixes and improvemen

Re: Tomcat server gets stuck

2020-02-14 Thread James H. H. Lampert
This was not a client box, nor one of our cloud boxes; it's our own production box. Shortly after I posted my query to the List, I was directed to re-IPL the system. I initiated the requested restart, and went to lunch. That worked. The Tomcat server is back up, with all contexts running. --

Re: Tomcat server gets stuck

2020-02-14 Thread calder
On Fri, Feb 14, 2020, 15:05 James H. H. Lampert wrote: > Ladies and Gentlemen of the Tomcat List: > > We have a situation. > > Earlier today, something (we don't know what) caused the Tomcat (7.0.93) > server on our AS/400 to go crazy, producing a 70G+ catalina.out file, > and rendering the machi

Re: Tomcat server gets stuck

2020-02-14 Thread Mark Thomas
On 14/02/2020 21:04, James H. H. Lampert wrote: > Ladies and Gentlemen of the Tomcat List: > > We have a situation. > > Earlier today, something (we don't know what) caused the Tomcat (7.0.93) > server on our AS/400 to go crazy, producing a 70G+ catalina.out file, > and rendering the machine gene

Tomcat server gets stuck

2020-02-14 Thread James H. H. Lampert
Ladies and Gentlemen of the Tomcat List: We have a situation. Earlier today, something (we don't know what) caused the Tomcat (7.0.93) server on our AS/400 to go crazy, producing a 70G+ catalina.out file, and rendering the machine generally unresponsive. Once I was able to get a terminal ses

ANN: Bill Stewart's Apache Tomcat Setup for Windows [9.0.31]

2020-02-14 Thread Bill Stewart
Please see here: https://github.com/Bill-Stewart/ApacheTomcatSetup The Setup executable for Tomcat 9.0.31 is available on the Releases tab. Bill

Re: this.getServletConfig() returns null

2020-02-14 Thread Richard Monson-Haefel
That worked! Thank you! On Fri, Feb 14, 2020 at 1:10 PM Mark Thomas wrote: > On 14/02/2020 18:29, Richard Monson-Haefel wrote: > > Hi, > > > > I'm experimenting with using annotations. I created a Servlet with > > annotations and then attempt to get the init parameters in the doGet() > > method

Re: this.getServletConfig() returns null

2020-02-14 Thread Mark Thomas
On 14/02/2020 18:29, Richard Monson-Haefel wrote: > Hi, > > I'm experimenting with using annotations. I created a Servlet with > annotations and then attempt to get the init parameters in the doGet() > method, but I keep getting a null value when I use > this.getServletConfig(). If I save the Se

Re: cookie configurations for Tomcat 7

2020-02-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Lazar, On 2/14/20 05:36, Lazar Kirchev wrote: > Chris, > > Just FYI or in case someone else hits this problem. > > Actually I had to use the response wrapper approach for Tomcat > 8.5.50 as well. As described by Chrome in > https://www.chromium.org/

Re: EOL of Apache Tomcat 9

2020-02-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Reneesh, On 2/14/20 12:27, Reneesh K wrote: > Thanks again. Last question what is the EOL for 8.5.x? Also currently unknown. Tomcat 7.0.x is still supported but will likely have a known EOL date when Tomcat 10 is released "stable". You have plenty

this.getServletConfig() returns null

2020-02-14 Thread Richard Monson-Haefel
Hi, I'm experimenting with using annotations. I created a Servlet with annotations and then attempt to get the init parameters in the doGet() method, but I keep getting a null value when I use this.getServletConfig(). If I save the ServletConfig in an instance variable from the init() method it

Re: EOL of Apache Tomcat 9

2020-02-14 Thread Reneesh K
Thanks again. Last question what is the EOL for 8.5.x? Best Regards, Reneesh K On Fri, Feb 14, 2020 at 8:10 AM Mark Thomas wrote: > On 14/02/2020 14:08, Reneesh K wrote: > > Thank you Mark. And just to confirm the EOL for 8.x is 30 June 2018? > > 8.0.x yes. > > 8.5.x is still supported. > > Ma

Re: what to do with address="::1"?

2020-02-14 Thread Mark Thomas
On 14/02/2020 16:04, John Larsen wrote: > Thanks for the info. Will this change be backported to 8.5 and 7? It already has been. Mark > > John Larsen > > > > On Fri, Feb 14, 2020 at 9:03 AM Mark Thomas wrote: > >> On 14/02/2020 15:56, John Larsen wrote: >>> From my testing. >>> >>> secret

Re: what to do with address="::1"?

2020-02-14 Thread John Larsen
Thanks for the info. Will this change be backported to 8.5 and 7? John Larsen On Fri, Feb 14, 2020 at 9:03 AM Mark Thomas wrote: > On 14/02/2020 15:56, John Larsen wrote: > > From my testing. > > > > secretRequired="false" is still needed though docs says its deprecated in > > favor of just s

Re: what to do with address="::1"?

2020-02-14 Thread Mark Thomas
On 14/02/2020 15:56, John Larsen wrote: > From my testing. > > secretRequired="false" is still needed though docs says its deprecated in > favor of just secret. Not correct. You are confusing requiredSecret (which has been deprecated in favour of secret) with secretRequired. > I also had to cha

Re: what to do with address="::1"?

2020-02-14 Thread John Larsen
>From my testing. secretRequired="false" is still needed though docs says its deprecated in favor of just secret. I also had to change the worker from host=localhost to host=127.0.0.1 Also AJP13 connector protocol block is commented out where it never was before. I'd prefer acceptance of localho

Re: what to do with address="::1"?

2020-02-14 Thread Mark Thomas
On 14/02/2020 14:21, John Larsen wrote: > I apologize - coffee started to kick in. The address="::1" portion is > commented out. > > Will adding secret="false"? in the server.xml bypass this issue? > > redirectPort="8443" /> That will give you an AJP connector that is only listening on the l

Re: what to do with address="::1"?

2020-02-14 Thread John Larsen
I apologize - coffee started to kick in. The address="::1" portion is commented out. Will adding secret="false"? in the server.xml bypass this issue? Thanks, John Larsen On Fri, Feb 14, 2020 at 6:52 AM Mark Thomas wrote: > On 14/02/2020 13:45, John Larsen wrote: > > Seems tomcat 9.0.31 h

Re: EOL of Apache Tomcat 9

2020-02-14 Thread Mark Thomas
On 14/02/2020 14:08, Reneesh K wrote: > Thank you Mark. And just to confirm the EOL for 8.x is 30 June 2018? 8.0.x yes. 8.5.x is still supported. Mark > > Best Regards, > Reneesh K > > > On Fri, Feb 14, 2020 at 7:56 AM Mark Thomas wrote: > >> On 13/02/2020 21:30, Reneesh K wrote: >>> Tea

Re: EOL of Apache Tomcat 9

2020-02-14 Thread Reneesh K
Thank you Mark. And just to confirm the EOL for 8.x is 30 June 2018? Best Regards, Reneesh K On Fri, Feb 14, 2020 at 7:56 AM Mark Thomas wrote: > On 13/02/2020 21:30, Reneesh K wrote: > > Team, > > > > What is the EOL Date for Apache Tomcat 9? > > Currently unknown. > > EOL for 5.x was 30 Sep

Re: EOL of Apache Tomcat 9

2020-02-14 Thread Mark Thomas
On 13/02/2020 21:30, Reneesh K wrote: > Team, > > What is the EOL Date for Apache Tomcat 9? Currently unknown. EOL for 5.x was 30 Sep 2012 EOL for 6.x was 31 Dec 2016 EOL for 7.x is probably going to be 31 Mar 2021 So roughly, there are ~4 years between EOL for major versions. That puts an es

Re: what to do with address="::1"?

2020-02-14 Thread Mark Thomas
On 14/02/2020 13:45, John Larsen wrote: > Seems tomcat 9.0.31 has thrown me a curve and messed up my automation. > > Where can i understand this change better? > "Rename the requiredSecret attribute of the AJP/1.3 Connector to secret and > add a new attribute secretRequired that defaults to true.

what to do with address="::1"?

2020-02-14 Thread John Larsen
Seems tomcat 9.0.31 has thrown me a curve and messed up my automation. Where can i understand this change better? "Rename the requiredSecret attribute of the AJP/1.3 Connector to secret and add a new attribute secretRequired that defaults to true. When secretRequired is truethe AJP/1.3 Connector w

Re: cookie configurations for Tomcat 7

2020-02-14 Thread Lazar Kirchev
Chris, Just FYI or in case someone else hits this problem. Actually I had to use the response wrapper approach for Tomcat 8.5.50 as well. As described by Chrome in https://www.chromium.org/updates/same-site/incompatible-clients, there are older browser versions which do not support the SameSite a

Re: RewriteValve does not work on HTTPS

2020-02-14 Thread Hua Zhang
Thank you for the information and fix, Mark. On Fri, Feb 7, 2020 at 12:31 AM Mark Thomas wrote: > On 06/02/2020 23:00, Mark Thomas wrote: > > The issue appears to be that the following RewriteCond does not match > > when the request is served over HTTP/2 (with TLS) but it does if the > > request