Re: Question on the ErrorReportValve
Jon, On 4/17/24 13:26, Mcalexander, Jon J. wrote: Thank you. The documentation makes it somewhat confusing because it starts out that a Valve can exist in Engine, Host, and Context Containers, and then in the subsequent valve list is the ErrorReportValve, but it doesn’t make it clear as to where it can go. If we put one in the Engine container, does it then also cover the Host containers since If you are willing to write-up a documentation patch, we can commit it for you. -chris From: Konstantin Kolinko Sent: Wednesday, April 17, 2024 10:44 AM To: Tomcat Users List Subject: Re: Question on the ErrorReportValve пн, 15 апр. 2024 г. в 19: 37, Mcalexander, Jon J. : > > Hi all! > Quick question on the ErrorReportValve and location within the server. xml file. I know that typically this would be inside пн, 15 апр. 2024 г. в 19:37, Mcalexander, Jon J. mailto:jonmcalexan...@wellsfargo.com.invalid>>: Hi all! Quick question on the ErrorReportValve and location within the server.xml file. I know that typically this would be inside the element, but if you have Multiple elements, do you add the valve to each Host section, or can it be placed at the Engine or even Server level? Unlikely. A Valve is expected to be in a certain place on the request processing pipeline. Note that a Host has an attribute named errorReportValveClass. If you do not specify a Valve explicitly, a default one will be created. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org<mailto:users-unsubscr...@tomcat.apache.org> For additional commands, e-mail: users-h...@tomcat.apache.org<mailto:users-h...@tomcat.apache.org> - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Question on the ErrorReportValve
Thank you. The documentation makes it somewhat confusing because it starts out that a Valve can exist in Engine, Host, and Context Containers, and then in the subsequent valve list is the ErrorReportValve, but it doesn’t make it clear as to where it can go. If we put one in the Engine container, does it then also cover the Host containers since mailto:jonmcalexan...@wellsfargo.com> This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. From: Konstantin Kolinko Sent: Wednesday, April 17, 2024 10:44 AM To: Tomcat Users List Subject: Re: Question on the ErrorReportValve пн, 15 апр. 2024 г. в 19: 37, Mcalexander, Jon J. : > > Hi all! > Quick question on the ErrorReportValve and location within the server. xml file. I know that typically this would be inside пн, 15 апр. 2024 г. в 19:37, Mcalexander, Jon J. mailto:jonmcalexan...@wellsfargo.com.invalid>>: > > Hi all! > Quick question on the ErrorReportValve and location within the server.xml > file. I know that typically this would be inside the > element, but if you have Multiple elements, do you add the valve to > each Host section, or can it be placed at the Engine or even Server level? Unlikely. A Valve is expected to be in a certain place on the request processing pipeline. Note that a Host has an attribute named errorReportValveClass. If you do not specify a Valve explicitly, a default one will be created. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org<mailto:users-unsubscr...@tomcat.apache.org> For additional commands, e-mail: users-h...@tomcat.apache.org<mailto:users-h...@tomcat.apache.org>
Re: Question on the ErrorReportValve
пн, 15 апр. 2024 г. в 19:37, Mcalexander, Jon J. : > > Hi all! > Quick question on the ErrorReportValve and location within the server.xml > file. I know that typically this would be inside the > element, but if you have Multiple elements, do you add the valve to > each Host section, or can it be placed at the Engine or even Server level? Unlikely. A Valve is expected to be in a certain place on the request processing pipeline. Note that a Host has an attribute named errorReportValveClass. If you do not specify a Valve explicitly, a default one will be created. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Question on the ErrorReportValve
Thanks Chris. Yes, it’s probably academic, but I was mainly looking for opinions from the true “experts” out there. When I get free time to do so, I’ll play around with it. Thanks, Dream * Excel * Explore * Inspire Jon McAlexander Senior Infrastructure Engineer Asst. Vice President He/His Middleware Product Engineering Enterprise CIO | EAS | Middleware | Infrastructure Solutions 8080 Cobblestone Rd | Urbandale, IA 50322 MAC: F4469-010 Tel 515-988-2508 | Cell 515-988-2508 jonmcalexan...@wellsfargo.com<mailto:jonmcalexan...@wellsfargo.com> This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. From: Christopher Schultz Sent: Monday, April 15, 2024 12:26 PM To: Tomcat Users List ; Mcalexander, Jon J. Subject: Re: Question on the ErrorReportValve Jon, On 4/15/24 12: 36, Mcalexander, Jon J. wrote: > Quick question on the ErrorReportValve and location within the server. xml file. I know that typically this would be inside the element, but if you have Multiple Jon, On 4/15/24 12:36, Mcalexander, Jon J. wrote: > Quick question on the ErrorReportValve and location within the server.xml > file. I know that typically this would be inside the > element, but if you have Multiple elements, do you add the valve to > each Host section, or can it be placed at the Engine or even Server level? The configuration reference doesn't specify, but the Javadoc says it "should be" used in but "should work in ". I would think you'd want to separately configure them for each , anyway. Is this an academic question? It seems like a very easy think to just try out and see what happens. :) -chris - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org<mailto:users-unsubscr...@tomcat.apache.org> For additional commands, e-mail: users-h...@tomcat.apache.org<mailto:users-h...@tomcat.apache.org>
Re: Question on the ErrorReportValve
Jon, On 4/15/24 12:36, Mcalexander, Jon J. wrote: Quick question on the ErrorReportValve and location within the server.xml file. I know that typically this would be inside the element, but if you have Multiple elements, do you add the valve to each Host section, or can it be placed at the Engine or even Server level? The configuration reference doesn't specify, but the Javadoc says it "should be" used in but "should work in ". I would think you'd want to separately configure them for each , anyway. Is this an academic question? It seems like a very easy think to just try out and see what happens. :) -chris - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org