struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: EmptyStackException after upgrading Struts 2.3 to 2.5
Date Tue, 29 Jan 2019 10:48:18 GMT
wt., 29 sty 2019 o 11:30 Yasser Zamani <yasserzamani@apache.org> napisał(a):
> Yes you both are right. It looks like a race condition between stack.clear and stack.write
[1]. But somehow it's odd. I was aware about this and defined them as prototype [2] so I except
new instance on each request. I also can recall I tested them heavily on high concurrent load
[3].

but this is used in an interceptor and interceptors are created once
per package, so the same instance will be used for the same requests


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message