Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tomcat Parallel Deployment - Go to older version

Let's say that I have two deployments running on my Tomcat:

  • myApp##1.war
  • myApp##2.war

So fresh sessions will go to the 2nd app; but is there a way to get into the 1st app?

Thanks!

like image 768
Fernando Fradegrada Avatar asked Nov 24 '25 16:11

Fernando Fradegrada


1 Answers

Currently the capability you're asking for is not implemented in parallel deployment: the only way to access the old version of your application is to provide a valid session ID (like a cookie) for the older version, otherwise ALL expired sessions/new sessions will be directed to the newer version.

like image 111
Matteo Baldi Avatar answered Nov 26 '25 05:11

Matteo Baldi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!