No it's for a long time ago. I even don't remember exactly where was that option. I guess it was at 'undeploy' where we were able to keep sessions.

@Greg could you please google "tomcat manager redeploy sessions" to see if you've configured tomcat correctly, or you haven't disabled session persistence? For example looks like sessions will be gone on redeploy due to security reasons [1].

If you believe that it's a Struts BUG then could you please in your application in an action for example, store something in session using pure java (i.e. don't use Struts). In another action restore and display it. Meanwhile try redeploy to see if it belongs to Tomcat, or no it works and so belongs to Struts.

TIA

Regards

[1] https://stackoverflow.com/q/56574258/1362623

On 8/17/2022 6:02 PM, Lukasz Lenart wrote:
Has it started recently? Tomcat by default serializes all sessions and
tries to restore them on application reload.
https://serverfault.com/questions/300222/invalidate-all-sessions-at-application-reload


Regards

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to