Re: persistentmanager loads only part of session?

2020-05-18 Thread Jonathan Yom-Tov
I don't think that can happen. I'm using sticky session so the first server gets all requests, then I kill it and only then are requests routed to the second server. On Mon, 18 May 2020, 21:15 Christopher Schultz, < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > H

Re: persistentmanager loads only part of session?

2020-05-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jonathan, On 5/18/20 12:52, Jonathan Yom-Tov wrote: > I see the persisted copy in the file and it has two keys, so I > don't think that's it. It's probably some sort of parallelism issue > since it happens only occasionally, but the map is a > Concu

Re: persistentmanager loads only part of session?

2020-05-18 Thread Jonathan Yom-Tov
I see the persisted copy in the file and it has two keys, so I don't think that's it. It's probably some sort of parallelism issue since it happens only occasionally, but the map is a ConcurrentHashMap, so I can't see how it would be overwritten. On Mon, 18 May 2020, 19:47 Mark Thomas, wrote:

Re: persistentmanager loads only part of session?

2020-05-18 Thread Mark Thomas
On 18/05/2020 15:23, Jonathan Yom-Tov wrote: > Here's my setup: I have two Tomcats using PersistentManager with FileStore > to store sessions on a NFS they both have access to. Inside the session > there's an object which contains a map. I also have a request listener that > logs the contents of th

persistentmanager loads only part of session?

2020-05-18 Thread Jonathan Yom-Tov
Here's my setup: I have two Tomcats using PersistentManager with FileStore to store sessions on a NFS they both have access to. Inside the session there's an object which contains a map. I also have a request listener that logs the contents of the map on every request. I kill one Tomcat and I can