Re: Global Error Handling

2019-12-03 Thread Sumit Bhardwaj
Thanks Guys. I will check out the options and get back. Best Sumit On Wed, Dec 4, 2019 at 4:18 AM Mark Thomas wrote: > On 03/12/2019 17:15, Peter Kreuser wrote: > > Am 03.12.2019 um 14:31 schrieb Mark Thomas : > > > >> 1. Deploy a ROOT web application with appropriate error page > >>

host [:] is not valid error in catalina.out

2019-12-03 Thread Kushagra Bindal
Hi, I tried to upgrade my tomcat on OpenAM from 8.5.24 to 9.0.29 version and I got below error in catalina.out during startup itself. [http-nio-8080-exec-7] org.apache.coyote.AbstractProcessor.parseHost The host [:] is not valid Note: further occurrences of request parsing errors will be logged

Re: Double Slash Support in Tomcat 9.0.27

2019-12-03 Thread Kushagra Bindal
Hi Mark/Manna/Chris, Do we have any way out to handle this type of behavior? On Tue, Dec 3, 2019 at 5:46 AM Kushagra Bindal wrote: > Chris, > > If you will check in my early email then you will find that with // it is > throwing 404. But as soon as I removed it manually then it starts working

Re: Async file upload server has 33% less throughput compared to the sync version

2019-12-03 Thread Behrang Saeedzadeh
I am not expecting it to take less time, but to provide better throughput. With 1000 concurrent users, the sync version was still performing better (mean req/second). Best regards, Behrang Saeedzadeh (Sent from my cellphone.) On Mon, 2 Dec. 2019, 8:44 am Mark Thomas, wrote: > On 01/12/2019

Re: Global Error Handling

2019-12-03 Thread Mark Thomas
On 03/12/2019 17:15, Peter Kreuser wrote: > Am 03.12.2019 um 14:31 schrieb Mark Thomas : >> 1. Deploy a ROOT web application with appropriate error page >> configuration. This will catch all URLs that aren't mapped to any other >> deployed applications. > > Wouldn’t the global web.xml provide

RE: Performance test with Tomcat 9 shows increased cpu/disk usage because of repeated opening/closing of jars in WEB-INF/lib

2019-12-03 Thread Rhuberg,Anthony
Hi, -Original Message- From: Mark Thomas Sent: Thursday, October 10, 2019 3:54 AM To: users@tomcat.apache.org Subject: Re: Performance test with Tomcat 9 shows increased cpu/disk usage because of repeated opening/closing of jars in WEB-INF/lib On 09/10/2019 22:58, Rhuberg,Anthony

Re: Global Error Handling

2019-12-03 Thread Peter Kreuser
 Mark, Peter Kreuser >>> Am 03.12.2019 um 14:31 schrieb Mark Thomas : >> On 03/12/2019 12:50, logo wrote: >> Sumit, >> Am 2019-12-03 13:11, schrieb Sumit Bhardwaj: >>> Hi Experts, >>> We have a requirement from a customer, where in case of 404, where >>> someone >>> is putting an invalid

Re: Global Error Handling

2019-12-03 Thread Mark Thomas
On 03/12/2019 12:50, logo wrote: > Sumit, > > > Am 2019-12-03 13:11, schrieb Sumit Bhardwaj: >> Hi Experts, >> >> We have a requirement from a customer, where in case of 404, where >> someone >> is putting an invalid url, instead of showing the default error, we >> should >> be showing a custom

Re: [E] Global Error Handling

2019-12-03 Thread Bauer, Margaret M (Peggy)
I think you can add your customized jsp page within your web.xml by modifying path and file name 401 /WEB-INF/jsp/401.jsp 403 /WEB-INF/jsp/403.jsp 404 /WEB-INF/jsp/404.jsp On Tue, Dec 3, 2019 at 8:11 AM Sumit Bhardwaj wrote: > Hi Experts, > > We have a

Re: Global Error Handling

2019-12-03 Thread logo
Sumit, Am 2019-12-03 13:11, schrieb Sumit Bhardwaj: Hi Experts, We have a requirement from a customer, where in case of 404, where someone is putting an invalid url, instead of showing the default error, we should be showing a custom message. Is this possible? I have searched and found

Global Error Handling

2019-12-03 Thread Sumit Bhardwaj
Hi Experts, We have a requirement from a customer, where in case of 404, where someone is putting an invalid url, instead of showing the default error, we should be showing a custom message. Is this possible? I have searched and found couple of solutions similar to

Re: Tomcat 9 http2 upload failed with big file.

2019-12-03 Thread Mark Thomas
On 03/12/2019 07:14, Arief Hasani wrote: > On 01/12/2019 17:03, Arief Hasani wrote: >>> Hi, >>> Strangely I can not upload big file (~20Mb) when using http2 using curl >>> with \ >>> unexpected EOF error, whereas the upload was successful when forcing curl >>> to use \ >>> http1.1 protocol so