RE: Error parsing HTTP request header

2020-02-26 Thread dkumar
May I know the tomcat version please. - It is apache-tomcat-8.0.41 -Original Message- From: dku...@ccilindia.co.in [mailto:dku...@ccilindia.co.in] Sent: 26 February 2020 19:01 To: 'Tomcat Users List' Subject: Error parsing HTTP request header Dear Team, We are getting below error in

Re: Tomcat 9.31 PUT/POST Request receiving Partial Data

2020-02-26 Thread Bhavesh Mistry
The response get truncated after 16321 bytes. Please let me know what is best way to wait and in order to consume entire request payload. Thanks, Bhavesh On Wed, Feb 26, 2020 at 4:34 PM Bhavesh Mistry wrote: > Hi Tomcat Team, > > I have servlet filter for all requests to cache the entire

Tomcat 9.31 PUT/POST Request receiving Partial Data

2020-02-26 Thread Bhavesh Mistry
Hi Tomcat Team, I have servlet filter for all requests to cache the entire PUT/POST Payload. When content is large 4KB or more, I am getting partial content when I read from HttpServletRequest.getInputStream(). But I but 10 seconds wait before consuming the input stream, I am getting entire

/manager/text/list fails in 9.0.31, works in 9.0.27

2020-02-26 Thread Vishal Agrawal
Corrected subject - Hello, I have manager endpoint enabled in my tomcat install. When I list the manager endoing in tomcat 9.0.31, I get a 401 Unauthorized error - curl -u tomcat:secret http://127.0.0.1:8080/manager/text/list http://www.w3.org/TR/html4/strict.dtd;> 401 Unauthorized ...

/manage/text/list fails in 9.0.31, works in 9.0.27

2020-02-26 Thread Vishal Agrawal
Hello, I have manager endpoint enabled in my tomcat install. When I list the manager endoing in tomcat 9.0.31, I get a 401 Unauthorized error - curl -u tomcat:secret http://127.0.0.1:8080/manager/text/list http://www.w3.org/TR/html4/strict.dtd;> 401 Unauthorized ... However, when I

Re: At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-26 Thread Ellen Meiselman
So I really can't believe it, but it WORKS, from end to end. I'm extremely grateful. This was definitely becoming a bit stressful until I found this mailing list. I'll have to do some more complete testing but this is looking good. Regarding the next release of Tomcat, I may as well give it a

RE: [OT] At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-26 Thread jonmcalexander
Thank you sir! Dream * Excel * Explore * Inspire Jon McAlexander Asst Vice President Middleware Product Engineering Enterprise CIO | Platform Services | Middleware | Infrastructure Solutions Upcoming PTO: 11/8, 11/11, 11/15, 11/22, 11/28, 11/29, 12/2, 12/6, 12/13, 12/20 – 12/31 8080

Re: At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-26 Thread Mark Thomas
On 26/02/2020 17:15, Ellen Meiselman wrote: > One more piece of the puzzle: > Setting allowedRequestAttributesPattern=".*" WORKED. > So if I get the exact pattern right, that may be the answer. > You'll all have to forgive me - I really don't know much about this stuff - > I'm mostly a front-end

Re: [OT] At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jon, On 2/26/20 09:25, jonmcalexan...@wellsfargo.com.INVALID wrote: > -Original Message- >> From: Mark Thomas Sent: Wednesday, February >> 26, 2020 5:19 AM To: users@tomcat.apache.org Subject: Re: [OT] At >> wits end: Difficulties with IIS

Re: [OT] At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-26 Thread Ellen Meiselman
One more piece of the puzzle: Setting allowedRequestAttributesPattern=".*" WORKED. So if I get the exact pattern right, that may be the answer. You'll all have to forgive me - I really don't know much about this stuff - I'm mostly a front-end developer who is sort of the "last woman standing" to

Re: [OT] At wits end: Difficulties with IIS ISAPI connector andTomcat

2020-02-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 2/26/20 09:08, Mark Thomas wrote: > On 26/02/2020 11:19, Mark Thomas wrote: >> On 26/02/2020 09:00, Mark Thomas wrote: >>> On 25/02/2020 21:47, Ellen Meiselman wrote: So it turned out that the logs were mostly set at FINE

Re: [OT] At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-26 Thread Ellen Meiselman
Hi, For all those of you helping me with the AJP connector allowedRequestAttributesPattern, I've spent some time carefully sanitizing 2 sets of isapi_redirect,log entries and put them up at the link below. These logs were generated from exactly two requests (sanitized version shown)

RE: Error parsing HTTP request header

2020-02-26 Thread Naga Ramesh
May I know the tomcat version please. -Original Message- From: dku...@ccilindia.co.in [mailto:dku...@ccilindia.co.in] Sent: 26 February 2020 19:01 To: 'Tomcat Users List' Subject: Error parsing HTTP request header Dear Team, We are getting below error in catelina log while starting the

Re: [OT] At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-26 Thread Martin Grigorov
Hi, On Wed, Feb 26, 2020 at 4:25 PM wrote: > -Original Message- > > From: Mark Thomas > > Sent: Wednesday, February 26, 2020 5:19 AM > > To: users@tomcat.apache.org > > Subject: Re: [OT] At wits end: Difficulties with IIS ISAPI connector > andTomcat > > > On 26/02/2020 09:00, Mark

RE: [OT] At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-26 Thread jonmcalexander
-Original Message- > From: Mark Thomas > Sent: Wednesday, February 26, 2020 5:19 AM > To: users@tomcat.apache.org > Subject: Re: [OT] At wits end: Difficulties with IIS ISAPI connector andTomcat > On 26/02/2020 09:00, Mark Thomas wrote: > On 25/02/2020 21:47, Ellen Meiselman wrote: >>

Re: Error parsing HTTP request header

2020-02-26 Thread tomcat/perl
On 26.02.2020 14:30, dku...@ccilindia.co.in wrote: Dear Team, We are getting below error in catelina log while starting the tomcat. 26-Feb-2020 18:57:36.795 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 21520 ms 26-Feb-2020 18:57:38.277 INFO [http-nio-443-exec-11]

Re: Error parsing HTTP request header

2020-02-26 Thread Mark Thomas
On 26/02/2020 13:30, dku...@ccilindia.co.in wrote: > Dear Team, > > We are getting below error in catelina log while starting the tomcat. > > 26-Feb-2020 18:57:36.795 INFO [main] > org.apache.catalina.startup.Catalina.start Server startup in 21520 ms > 26-Feb-2020 18:57:38.277 INFO

Re: [OT] At wits end: Difficulties with IIS ISAPI connector andTomcat

2020-02-26 Thread Mark Thomas
On 26/02/2020 11:19, Mark Thomas wrote: > On 26/02/2020 09:00, Mark Thomas wrote: >> On 25/02/2020 21:47, Ellen Meiselman wrote: >>> So it turned out that the logs were mostly set at FINE already, so >> Johann’s suggestion was already done. >>> >>> But I think I now know where the problem lies.

Error parsing HTTP request header

2020-02-26 Thread dkumar
Dear Team, We are getting below error in catelina log while starting the tomcat. 26-Feb-2020 18:57:36.795 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 21520 ms 26-Feb-2020 18:57:38.277 INFO [http-nio-443-exec-11]

Re: [OT] At wits end: Difficulties with IIS ISAPI connector andTomcat

2020-02-26 Thread Ellen Meiselman
Thank you for that - I wasn't sure what patterns were allowed with that attribute, so I couldn't test it. I'll check the isapi_redirect.log to see if it records the exact requests. On Wed, Feb 26, 2020 at 4:01 AM Mark Thomas wrote: > On 25/02/2020 21:47, Ellen Meiselman wrote: > > So it turned

Re: javax.servlet.ServletContainerInitializer defined in jar not loading on Tomcat 7.0.100

2020-02-26 Thread Rémy Maucherat
On Wed, Feb 26, 2020 at 12:36 PM Rémy Maucherat wrote: > On Wed, Feb 26, 2020 at 9:57 AM Mark Thomas wrote: > >> On 26/02/2020 01:35, SS jong wrote: >> >> >> >> > Has anyone encountered this issue on Tomcat 7.0.100 and if this >> behavior change is intentional? >> >> Possibly the same root

Re: javax.servlet.ServletContainerInitializer defined in jar not loading on Tomcat 7.0.100

2020-02-26 Thread Rémy Maucherat
On Wed, Feb 26, 2020 at 9:57 AM Mark Thomas wrote: > On 26/02/2020 01:35, SS jong wrote: > > > > > Has anyone encountered this issue on Tomcat 7.0.100 and if this behavior > change is intentional? > > Possibly the same root cause as > > https://bz.apache.org/bugzilla/show_bug.cgi?id=64153 > I

Re: [OT] At wits end: Difficulties with IIS ISAPI connector andTomcat

2020-02-26 Thread Mark Thomas
On 26/02/2020 09:00, Mark Thomas wrote: > On 25/02/2020 21:47, Ellen Meiselman wrote: >> So it turned out that the logs were mostly set at FINE already, so > Johann’s suggestion was already done. >> >> But I think I now know where the problem lies. Secure IIS request > > to > non-secire AJP. >> >>

Re: [OT] At wits end: Difficulties with IIS ISAPI connector andTomcat

2020-02-26 Thread tomcat/perl
Hi. I think that we are getting complicated and confusing here. A picture is worth a thousand words, so a little ASCII graphic art may help clarifying things. browser <-(1)-> IIS + proxy <-(2)-> tomcat <-> application - connection (1) can be HTTP or HTTPS (admin choice) - connection (2) can be

Re: [OT] At wits end: Difficulties with IIS ISAPI connector andTomcat

2020-02-26 Thread Mark Thomas
On 25/02/2020 21:47, Ellen Meiselman wrote: > So it turned out that the logs were mostly set at FINE already, so Johann’s suggestion was already done. > > But I think I now know where the problem lies. Secure IIS request > to > non-secire AJP. > > I don’t think this was a problem on the other

Re: javax.servlet.ServletContainerInitializer defined in jar not loading on Tomcat 7.0.100

2020-02-26 Thread Mark Thomas
On 26/02/2020 01:35, SS jong wrote: > Has anyone encountered this issue on Tomcat 7.0.100 and if this behavior > change is intentional? Possibly the same root cause as https://bz.apache.org/bugzilla/show_bug.cgi?id=64153 Mark