users@glassfish.java.net

Re: Sessionbeans / Classloaders / Redeploy

From: <glassfish_at_javadesktop.org>
Date: Wed, 16 Jan 2008 06:25:23 PST

<Is there any way to cleanup all object living in an old pre-redeploy classloader.
   When you undeploy an app, the associated container is also undeployed, which causes all the beans to be garbage collected. After that the classloader for that app is also invalidated. Are you asking if there is a way to notify the thread on the zombie network?

< Will session beans created during the lifetime of one deployment all live in the same classloader?
   Yes. Each application has its own class loader. And all session beans are created and live inside this classloader till the app is undeployed.
[Message sent by forum member 'mk111283' (mk111283)]

http://forums.java.net/jive/thread.jspa?messageID=254193