users@glassfish.java.net

Re: lookup ejb from OSGI ServiceListener

From: <forums_at_java.net>
Date: Mon, 6 Jun 2011 02:39:59 -0500 (CDT)

[quote=Sahoo]Are you not removing the ServiceListener in preDestroy method of
the EJB? I could reproduce by not removing the listener.[/quote]

Thank you, you are absolutely right: preDestroy with removeServiceListener
solved the problem. Could you explain why the EJB is destroyed immediately
after the war is loaded? 

thanks again


--
[Message sent by forum member 'okna2000']
View Post: http://forums.java.net/node/808455