I'm pretty sure that the finalizers are only called when garbage collection reclaims the objects, and that will be some time after the session is invalidated. Possibly a very long time after, if Tomcat isn't busy and isn't using much memory. -- Len
On 7/7/05, Nishant Deshpande <[EMAIL PROTECTED]> wrote: > I store a bunch of objects in my session. > > After the session timeout, I see the session getting invalidated (via > my listener). > > Now I am expecting to see the finalizers from the objects in the > session being called - I'm pretty sure I don't have any other > references to them. > > I don't see the finalizers getting called. > > Am I missing something? > > Thanks > > Nishant > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]