Re: Implementing Store and getting java.io.StreamCorruptedException

2020-05-26 Thread Jonathan Yom-Tov
For posterity's sake: the issue was that I hadn't noticed that StoreBase has the method getObjectInputStream which should be used instead of new ObjectInputStream. So while the session was serialized correctly using StandardSession's mechanism, it didn't deserialize correctly. On Fri, May 22,

Re: Implementing Store and getting java.io.StreamCorruptedException

2020-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jonathan, On 5/20/20 10:55, Jonathan Yom-Tov wrote: > I implemented my own Store which uses Redis to persist sessions > (I'm using Jedis as the interface library). I copied most of the > load()/save() code from FileStore. When my Store loads the