users@glassfish.java.net

Re: EJB lifecycle, how to catch EJB unload event

From: <glassfish_at_javadesktop.org>
Date: Tue, 27 Nov 2007 15:00:01 PST

Hi Cheng,
all correct and theoretically working. But in practice glassfish doesnt GC the stateful EJB for some reason. Even if I redeploy a changed version of the EJB the old one still doesnt run the methode annotated by @PreDestroy. It simply doesnt get destroyed.
How can can I trigger the destruction of the EJB ?
[Message sent by forum member 'swordofdarius' (swordofdarius)]

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