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

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 pla

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 far

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 w

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? > >> > >

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 diffe

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 > > (header=Set-Cookie=JSESSIONID=2D79FB71

Re: log POST data

2008-11-11 Thread Markus Reis
Original-Nachricht > Datum: Tue, 11 Nov 2008 16:27:57 -0500 > Von: Christopher Schultz <[EMAIL PROTECTED]> > An: Tomcat Users List > Betreff: Re: log POST data > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Markus, > > Markus Reis wrote: > >

Re: log POST data

2008-11-11 Thread Markus Reis
OK (therefore I wrote POST data in the subject) - How could I log this (POST) data (or body)? Markus Original-Nachricht > Datum: Tue, 11 Nov 2008 11:40:16 + > Von: Mark Thomas <[EMAIL PROTECTED]> > An: Tomcat Users List > Betreff: Re: log POST data &

Re: log POST data

2008-11-11 Thread Markus Reis
? Markus PS: The request 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 > Betreff: Re: log POST data > Markus Reis wrote: >

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 the

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 in my server.xml, but the last pattern string "x-P()" always produced "-" in the log (instead of the only one post parameter that was present in the http post request) The http post requests I wa