Yes, you shouldn't rely on finalizers to clean-up session objects.
Better do it in your listener.
Len Popp wrote:
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.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]