You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Nilesh Dabholkar <ND...@sunrisesoftware.com> on 2016/04/11 14:51:16 UTC
Tomcat8 with Java8 session mix up issue
Hi,
Has anyone come across issues related mixing up user session on Tomcat 8.0.26?
We've been seeing intermittent issues whereby user session are getting mixed up after upgrading to Tomcat8 and Java8.
I could find similar issues logged on Tomcat 6 but not on any of the later versions.
Any response will be highly appreciated.
Regards,
Nilesh Dabholkar
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat8 with Java8 session mix up issue
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
David,
On 4/11/16 8:56 AM, David kerber wrote:
> On 4/11/2016 8:54 AM, Olaf Kock wrote:
>>
>>
>> Am 11.04.2016 um 14:51 schrieb Nilesh Dabholkar:
>>> Hi,
>>>
>>> Has anyone come across issues related mixing up user session
>>> on Tomcat 8.0.26?
>>>
>>> We've been seeing intermittent issues whereby user session are
>>> getting mixed up after upgrading to Tomcat8 and Java8.
>>
>> Whenever I've seen content for one user being delivered to
>> another user in the past, it has always been some overeager
>> cache/proxy somewhere in the path.
>>
>> Can you check if that's the case?
>
> Improper use of static variables is another common cause.
*Any* use of static variables is another common cause.
FTFY ;)
- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlcMGagACgkQ9CaO5/Lv0PDj2wCdHz9ZMqLRHhLpQgQBOjbBa3xo
ErQAn0PLky7k4UQgMX/jpYcxtm4w88yL
=KkNi
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Tomcat8 with Java8 session mix up issue
Posted by Nilesh Dabholkar <ND...@sunrisesoftware.com>.
I'm on Tomcat 8.0.26
You're right, my first instinct was to check the application itself.
However, it is an intermittent issue and does not happen regularly or cannot be recreated at will.
So, I'm wondering if anyone else has encountered a similar problem.
Regards,
Nilesh
-----Original Message-----
From: David kerber [mailto:dckerber@verizon.net]
Sent: 11 April 2016 14:10
To: Tomcat Users List <us...@tomcat.apache.org>
Subject: Re: Tomcat8 with Java8 session mix up issue
On 4/11/2016 9:07 AM, Nilesh Dabholkar wrote:
> So, are we saying that it has more to do with the application itself rather than Tomcat?
Yes, that's far more likely. If Tomcat itself had a bug like that, every user would be screaming. Are you on the latest version of TC (8.0.33, I think)?
>
> We're also using Spring MVC framework which handles session management.
>
> Regards,
> Nilesh
>
> -----Original Message-----
> From: David kerber [mailto:dckerber@verizon.net]
> Sent: 11 April 2016 13:57
> To: Tomcat Users List <us...@tomcat.apache.org>
> Subject: Re: Tomcat8 with Java8 session mix up issue
>
> On 4/11/2016 8:54 AM, Olaf Kock wrote:
>>
>>
>> Am 11.04.2016 um 14:51 schrieb Nilesh Dabholkar:
>>> Hi,
>>>
>>> Has anyone come across issues related mixing up user session on Tomcat 8.0.26?
>>>
>>> We've been seeing intermittent issues whereby user session are getting mixed up after upgrading to Tomcat8 and Java8.
>>
>> Whenever I've seen content for one user being delivered to another
>> user in the past, it has always been some overeager cache/proxy
>> somewhere in the path.
>>
>> Can you check if that's the case?
>
> Improper use of static variables is another common cause.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat8 with Java8 session mix up issue
Posted by David kerber <dc...@verizon.net>.
On 4/11/2016 9:07 AM, Nilesh Dabholkar wrote:
> So, are we saying that it has more to do with the application itself rather than Tomcat?
Yes, that's far more likely. If Tomcat itself had a bug like that,
every user would be screaming. Are you on the latest version of TC
(8.0.33, I think)?
>
> We're also using Spring MVC framework which handles session management.
>
> Regards,
> Nilesh
>
> -----Original Message-----
> From: David kerber [mailto:dckerber@verizon.net]
> Sent: 11 April 2016 13:57
> To: Tomcat Users List <us...@tomcat.apache.org>
> Subject: Re: Tomcat8 with Java8 session mix up issue
>
> On 4/11/2016 8:54 AM, Olaf Kock wrote:
>>
>>
>> Am 11.04.2016 um 14:51 schrieb Nilesh Dabholkar:
>>> Hi,
>>>
>>> Has anyone come across issues related mixing up user session on Tomcat 8.0.26?
>>>
>>> We've been seeing intermittent issues whereby user session are getting mixed up after upgrading to Tomcat8 and Java8.
>>
>> Whenever I've seen content for one user being delivered to another
>> user in the past, it has always been some overeager cache/proxy
>> somewhere in the path.
>>
>> Can you check if that's the case?
>
> Improper use of static variables is another common cause.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Tomcat8 with Java8 session mix up issue
Posted by Nilesh Dabholkar <ND...@sunrisesoftware.com>.
So, are we saying that it has more to do with the application itself rather than Tomcat?
We're also using Spring MVC framework which handles session management.
Regards,
Nilesh
-----Original Message-----
From: David kerber [mailto:dckerber@verizon.net]
Sent: 11 April 2016 13:57
To: Tomcat Users List <us...@tomcat.apache.org>
Subject: Re: Tomcat8 with Java8 session mix up issue
On 4/11/2016 8:54 AM, Olaf Kock wrote:
>
>
> Am 11.04.2016 um 14:51 schrieb Nilesh Dabholkar:
>> Hi,
>>
>> Has anyone come across issues related mixing up user session on Tomcat 8.0.26?
>>
>> We've been seeing intermittent issues whereby user session are getting mixed up after upgrading to Tomcat8 and Java8.
>
> Whenever I've seen content for one user being delivered to another
> user in the past, it has always been some overeager cache/proxy
> somewhere in the path.
>
> Can you check if that's the case?
Improper use of static variables is another common cause.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat8 with Java8 session mix up issue
Posted by David kerber <dc...@verizon.net>.
On 4/11/2016 8:54 AM, Olaf Kock wrote:
>
>
> Am 11.04.2016 um 14:51 schrieb Nilesh Dabholkar:
>> Hi,
>>
>> Has anyone come across issues related mixing up user session on Tomcat 8.0.26?
>>
>> We've been seeing intermittent issues whereby user session are getting mixed up after upgrading to Tomcat8 and Java8.
>
> Whenever I've seen content for one user being delivered to another user
> in the past, it has always been some overeager cache/proxy somewhere in
> the path.
>
> Can you check if that's the case?
Improper use of static variables is another common cause.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat8 with Java8 session mix up issue
Posted by Olaf Kock <to...@olafkock.de>.
Am 11.04.2016 um 14:51 schrieb Nilesh Dabholkar:
> Hi,
>
> Has anyone come across issues related mixing up user session on Tomcat 8.0.26?
>
> We've been seeing intermittent issues whereby user session are getting mixed up after upgrading to Tomcat8 and Java8.
Whenever I've seen content for one user being delivered to another user
in the past, it has always been some overeager cache/proxy somewhere in
the path.
Can you check if that's the case?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org