You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Caldarale, Charles R" <Ch...@unisys.com> on 2009/04/22 06:44:09 UTC

RE: Re: windows 2k3 / Tomcat 6 / IIS configuration - randomlylosing sessions

> From: Menachem Husarsky [mailto:husarsky@hotmail.com]
> Subject: Re: Re: windows 2k3 / Tomcat 6 / IIS configuration -
> randomlylosing sessions
> 
> Do you have any suggestions for me for how to debug this in a finer
> more controlled fashion?

Have you implemented an HttpSessionListener to track the comings and goings?  This, coupled with request/response logging, might at least give you a better idea of which is the more likely of the two failure scenarios you've considered.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: windows 2k3 / Tomcat 6 / IIS configuration - randomlylosing sessions

Posted by Rainer Jung <ra...@kippdata.de>.
On 22.04.2009 06:44, Caldarale, Charles R wrote:
>> From: Menachem Husarsky [mailto:husarsky@hotmail.com] Subject: Re:
>> Re: windows 2k3 / Tomcat 6 / IIS configuration - randomlylosing
>> sessions
>> 
>> Do you have any suggestions for me for how to debug this in a
>> finer more controlled fashion?
> 
> Have you implemented an HttpSessionListener to track the comings and
> goings?  This, coupled with request/response logging, might at least
> give you a better idea of which is the more likely of the two failure
> scenarios you've considered.

You can also log %{Cookie}i, %{Set-Cookie}o and the actual session id in
your Tomcat access log. You need to activate it and replace the default
pattern "common" by something like e.g.

"%h %l %u %t &quot;%r&quot; %s %b
&quot;%{Cookie}i&quot; &quot;%{Set-Cookie}o&quot; %S %D"

(all on one line)

Regards,

Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org