Re: Tomcat looses POST parameters

2007-08-30 Thread M4N - Arjan Tijms
Hi, M4N - Arjan Tijms wrote: The problem I'm encountering is that for a percentage of the POST requests, Tomcat seems to loose all parameters. Our application uses a filter that logs the (first few characters of) post parameters. To follow up on this issue, I think that I have probably

Re: Tomcat looses POST parameters

2007-08-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arjan, M4N - Arjan Tijms wrote: Christopher Schultz wrote: No, your filter will only be executed after the login has been handled, since Tomcat's authentication is done using a valve, which is processed before any filters. I see. The thing is,

Re: Tomcat looses POST parameters

2007-08-28 Thread M4N - Arjan Tijms
Christopher Schultz wrote: Uh, I'm not really sure what you're saying, here. TCs auth code /will/ run before any of your code if you are using it. Of course, but that's exactly what I'm saying. If Tomcat's auth code runs first, than the possible error would be in Tomcat's code. Do you

Re: Tomcat looses POST parameters

2007-08-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arjan, M4N - Arjan Tijms wrote: Christopher Schultz wrote: Uh, I'm not really sure what you're saying, here. TCs auth code /will/ run before any of your code if you are using it. Of course, but that's exactly what I'm saying. If Tomcat's auth

Re: Tomcat looses POST parameters

2007-08-27 Thread M4N - Arjan Tijms
In my case I was using Burpproxy, which seems to do more or less the same as fiddler. Grtz, Arjan Tijms - Original Message - From: thebugslayer [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, August 26, 2007 8:06 PM Subject: Re: Tomcat looses POST

Re: Tomcat looses POST parameters

2007-08-27 Thread M4N - Arjan Tijms
Hi, thebugslayer wrote: I would suggest a TCP sniff tool like one found from axis or grinder to peek at your http track to be sure. Thanks for your reply. The TCP Sniffer from The Grinder is an HTTP proxy, and I already tried that: Using a proxy server to monitor what my browser was

RE: Tomcat looses POST parameters

2007-08-27 Thread Hehl, Thomas
@tomcat.apache.org Subject: Tomcat looses POST parameters Hi, We're hosting a fairly high traffic web application based on Tomcat. It's running on Debian-Etch, JDK 5.0U10 and Tomcat 5.5.20. We're using Apache as a front-end with the AJP connector. The problem I'm encountering

Re: Tomcat looses POST parameters

2007-08-27 Thread M4N - Arjan Tijms
, August 24, 2007 12:43 PM To: users@tomcat.apache.org Subject: Tomcat looses POST parameters Hi, We're hosting a fairly high traffic web application based on Tomcat. It's running on Debian-Etch, JDK 5.0U10 and Tomcat 5.5.20. We're using Apache as a front-end with the AJP connector

Re: Tomcat looses POST parameters

2007-08-27 Thread Ben Souther
[mailto:[EMAIL PROTECTED] Sent: Friday, August 24, 2007 12:43 PM To: users@tomcat.apache.org Subject: Tomcat looses POST parameters Hi, We're hosting a fairly high traffic web application based on Tomcat. It's running on Debian-Etch, JDK 5.0U10 and Tomcat 5.5.20. We're using Apache

Re: Tomcat looses POST parameters

2007-08-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arjan, M4N - Arjan Tijms wrote: The problem I'm encountering is that for a percentage of the POST requests, Tomcat seems to loose all parameters. Are you observing this in log files, or by actually doing it and having it fail. I'm asking because

Re: Tomcat looses POST parameters

2007-08-27 Thread M4N - Arjan Tijms
Hi, Christopher Schultz wrote: The problem I'm encountering is that for a percentage of the POST requests, Tomcat seems to loose all parameters. Are you observing this in log files, or by actually doing it and having it fail. Both actually. I have installed a top-level filter, and

Re: Tomcat looses POST parameters

2007-08-27 Thread M4N - Arjan Tijms
Hi, Ben Souther wrote: One thing that you've go on your side, as far as isolating the problem is concerned, is that Tomcat is a busy project and has thousands of users. If it had a bug that caused it to miss or drop form parameters hundreds or thousands of apps would be breaking right now and

Re: Tomcat looses POST parameters

2007-08-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arjan, M4N - Arjan Tijms wrote: It's a good thought, and such a thing could have happened. Only in this case the parameters are already missing before any request processing is being done. No, your filter will only be executed after the login has

Re: Tomcat looses POST parameters

2007-08-27 Thread David Delbecq
Just a point worth if it's related to FORM login; The form login does have a maximum request size that is stored in user session and restored after login as original request. If request was too big (fileupload, article submissions, etc), it might get dropped. I think the default max is about

Re: Tomcat looses POST parameters

2007-08-27 Thread M4N - Arjan Tijms
Hi, c. wrote: I experienced some problems with missing POST parameters. I'm not sure where the problem lay but I was using apache 2, tomcat 5.5, mod_ajp_proxy and dwr. I upgraded to tomcat 6 using mod_proxy and NIO and have not seen the problem since. Chris, this sounds very interesting

Re: Tomcat looses POST parameters

2007-08-27 Thread M4N - Arjan Tijms
Hi, Christopher Schultz wrote: No, your filter will only be executed after the login has been handled, since Tomcat's authentication is done using a valve, which is processed before any filters. I see. The thing is, I'm not using any container managed authentication at all. All

Re: Tomcat looses POST parameters

2007-08-27 Thread Mark Thomas
M4N - Arjan Tijms wrote: Hi, c. wrote: I experienced some problems with missing POST parameters. I'm not sure where the problem lay but I was using apache 2, tomcat 5.5, mod_ajp_proxy and dwr. I upgraded to tomcat 6 using mod_proxy and NIO and have not seen the problem since.

Re: Tomcat looses POST parameters

2007-08-26 Thread thebugslayer
I would suggest a TCP sniff tool like one found from axis or grinder to peek at your http track to be sure. On 8/24/07, M4N - Arjan Tijms [EMAIL PROTECTED] wrote: Hi, We're hosting a fairly high traffic web application based on Tomcat. It's running on Debian-Etch, JDK 5.0U10 and Tomcat

Re: Tomcat looses POST parameters

2007-08-26 Thread Martin Gainty
notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: thebugslayer [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, August 26, 2007 8:06 PM Subject: Re: Tomcat looses

Tomcat looses POST parameters

2007-08-24 Thread M4N - Arjan Tijms
Hi, We're hosting a fairly high traffic web application based on Tomcat. It's running on Debian-Etch, JDK 5.0U10 and Tomcat 5.5.20. We're using Apache as a front-end with the AJP connector. The problem I'm encountering is that for a percentage of the POST requests, Tomcat seems to loose all