Re: seamless restart

2020-05-12 Thread Mark Eggers
Chris, On 5/12/2020 1:25 PM, Christopher Schultz wrote: > Mark, > > On 5/12/20 16:14, Mark Eggers wrote: >> Chris, > >> On 5/12/2020 12:55 PM, Christopher Schultz wrote: >>> Jonathan, >>> >>> On 5/12/20 11:20, Jonathan Yom-Tov wrote: The problem is that my application is running on AWS whic

Re: seamless restart

2020-05-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 5/12/20 16:14, Mark Eggers wrote: > Chris, > > On 5/12/2020 12:55 PM, Christopher Schultz wrote: >> Jonathan, >> >> On 5/12/20 11:20, Jonathan Yom-Tov wrote: >>> The problem is that my application is running on AWS which >>> apparently does

Re: seamless restart

2020-05-12 Thread Mark Eggers
Chris, On 5/12/2020 12:55 PM, Christopher Schultz wrote: > Jonathan, > > On 5/12/20 11:20, Jonathan Yom-Tov wrote: >> The problem is that my application is running on AWS which >> apparently doesn't support multicasting so I can't use Tomcat's >> DeltaManager. > > The membership-manager is separ

Re: seamless restart

2020-05-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jonathan, On 5/12/20 14:19, Jonathan Yom-Tov wrote: > Thanks Mark. I've tried to use Redisson, it would've been the > perfect solution for this except for the fact that my session > object is a deep tree which is mutated in many areas of the code. >

Re: seamless restart

2020-05-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jonathan, On 5/12/20 11:20, Jonathan Yom-Tov wrote: > The problem is that my application is running on AWS which > apparently doesn't support multicasting so I can't use Tomcat's > DeltaManager. The membership-manager is separate from the replicati

Re: seamless restart

2020-05-12 Thread Jonathan Yom-Tov
Thanks Mark. I've tried to use Redisson, it would've been the perfect solution for this except for the fact that my session object is a deep tree which is mutated in many areas of the code. So what happens is that as one request is changing the session state another will persist its session to Redi

Re: seamless restart

2020-05-12 Thread Mark Eggers
Jonathan, On 5/12/2020 8:20 AM, Jonathan Yom-Tov wrote: > The problem is that my application is running on AWS which apparently > doesn't support multicasting so I can't use Tomcat's DeltaManager. I > thought of using one of the Store implementations for PersistentManager but > that has the issues

Re: seamless restart

2020-05-12 Thread Jonathan Yom-Tov
The problem is that my application is running on AWS which apparently doesn't support multicasting so I can't use Tomcat's DeltaManager. I thought of using one of the Store implementations for PersistentManager but that has the issues which I mentioned earlier. My aim is to get to the point where I

Re: seamless restart

2020-05-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jonathan, On 5/12/20 05:51, Jonathan Yom-Tov wrote: > I have an application which changes the state of user sessions in > lots of places in the code. Is it possible to do a seamless switch > of Tomcat servers, preserving all sessions? > > I know I c

seamless restart

2020-05-12 Thread Jonathan Yom-Tov
I have an application which changes the state of user sessions in lots of places in the code. Is it possible to do a seamless switch of Tomcat servers, preserving all sessions? I know I can use PersistentManager to persist sessions and load them. I can think of two strategies: 1. Persist sessi