Re: multiple Set-Cookie headers in initial http response

2008-11-14 Thread Markus Reis
Or use the same trick new Throwable(Oups).printStackTrace(); inside your listener to not just write out session creations and destroys, but the code stack at that moment. Above Wrapper is nicer, using the same trick in your existing listener is simpler and faster. I did that and finally

Re: multiple Set-Cookie headers in initial http response

2008-11-13 Thread Markus Reis
Markus Reis wrote: [...] Further I found out that this happens only with an initial POST request - if I do the same via GET only one Set-Cookie header is returned (I wrote before that I was not able to reproduce those 900 Set-Cookie headers on my PC, but that was due to the fact that I

Re: multiple Set-Cookie headers in initial http response

2008-11-13 Thread Markus Reis
Since you mention JBoss (which I don't know), is that still some kind of HTTP server front-end to Tomcat ? No (at least not AFAIK). I see that you are using port 48080 to access it. In your Tomcat server.xml, is there a Connector with that same port number ? Yes. It is a bit

Re: RE: multiple Set-Cookie headers in initial http response

2008-11-13 Thread Markus Reis
Sounds like something in the webapp is invalidating the current session and creating a new one each time it processes a parameter. Perhaps code that should be executed once is incorrectly placed inside a loop? I have the impression that this happens already before the webapp comes into play,

Re: multiple Set-Cookie headers in initial http response

2008-11-12 Thread Markus Reis
Our Tomcat 5.5 sends 30 cookie (cookie=JSESSIONID=2D79FB71207A83A09B32677B9640693E.jbprod; domain=null; path=/) Are they all identical? No. They are ALL different (and they also differ from response to response) and 900 Set-Cookie

Re: multiple Set-Cookie headers in initial http response

2008-11-12 Thread Markus Reis
André Warnier wrote: Markus Reis wrote: Our Tomcat 5.5 sends 30 cookie (cookie=JSESSIONID=2D79FB71207A83A09B32677B9640693E.jbprod; domain=null; path=/) Are they all identical? No. They are ALL different (and they also differ from response to response) and 900 Set-Cookie

Re: multiple Set-Cookie headers in initial http response

2008-11-12 Thread Markus Reis
Markus Reis wrote: Our Tomcat 5.5 sends 30 cookie (cookie=JSESSIONID=2D79FB71207A83A09B32677B9640693E.jbprod; domain=null; path=/) Are they all identical? No. They are ALL different (and they also differ from response to response) and 900 Set-Cookie (header=Set-Cookie

log POST data

2008-11-11 Thread Markus Reis
I'd like to log post parameters/data of all/some http requests - Therefore I tried Valve className=org.apache.catalina.valves.ExtendedAccessLogValve prefix=localhost_extended_access_log. suffix=.log pattern=cs-uri cs-uri-query time-taken x-P()

multiple Set-Cookie headers in initial http response

2008-11-11 Thread Markus Reis
Our Tomcat 5.5 sends 30 cookie (cookie=JSESSIONID=2D79FB71207A83A09B32677B9640693E.jbprod; domain=null; path=/) and 900 Set-Cookie (header=Set-Cookie=JSESSIONID=2D79FB71207A83A09B32677B9640693E.jbprod; Path=/; Secure) headers in the http response header back to the external clients (during

Re: log POST data

2008-11-11 Thread Markus Reis
Markus Reis wrote: Yes, it should be x-P(nameOfParameter) ... ... BUT, the POST request sent contains no key/value POST parameters/values, but instead only one value (without a key) - so what could I use as nameOfParameter (I already tried '', nothing, and , but without any success

Re: log POST data

2008-11-11 Thread Markus Reis
is sent by an AJAX framework called ECHO2 (by NextApp) Original-Nachricht Datum: Tue, 11 Nov 2008 11:22:48 + Von: Mark Thomas [EMAIL PROTECTED] An: Tomcat Users List users@tomcat.apache.org Betreff: Re: log POST data Markus Reis wrote: in my server.xml, but the last

Re: log POST data

2008-11-11 Thread Markus Reis
: Tue, 11 Nov 2008 16:27:57 -0500 Von: Christopher Schultz [EMAIL PROTECTED] An: Tomcat Users List users@tomcat.apache.org Betreff: Re: log POST data -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Markus, Markus Reis wrote: OK (therefore I wrote POST data in the subject) - How could I