On Sun, Jul 18, 2004 at 06:22:37PM -0400, Vladimer Shioshvili wrote: : if i have an object in the servlet context scope, if tomcat is shutdown : gracefully would the object get finalized?
Likely, no: finalization happens only on GC, which happens... well, pretty much when the JVM wants it to. The point of GC is to reclaim memory. I doubt this would occur on shutdown, then, because at that point memory is freed by the JVM process exit. Is there something you require happen when a context is unloaded? You could use a ContextListener for that. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
