Lukasz - Sorry if this is a dumb question, but where and how do I call the readObject() method that you suggested?
On Tue, Jan 26, 2021 at 6:33 AM Burton Rhodes <burtonrho...@gmail.com> wrote: > Many thanks... I will give that a try! > > > On Tue, Jan 26, 2021 at 1:51 AM Lukasz Lenart <lukaszlen...@apache.org> > wrote: > >> pon., 25 sty 2021 o 19:52 Burton Rhodes <burtonrho...@gmail.com> >> napisał(a): >> > public class OpenSessionBackgroundProcess extends BackgroundProcess { >> >> BackgroundProcess is marked as Serializable so container can >> temporarily store it on disk >> >> > private Object lock = new Object(); // used for synchronization >> >> I would mark this as transient and add >> >> private void readObject(ObjectInputStream inputStream) throws >> IOException, ClassNotFoundException { >> lock = new Object(); >> } >> >> maybe it will help >> >> >> Regards >> -- >> Łukasz >> + 48 606 323 122 http://www.lenart.org.pl/ >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >>