I wasn't using the HiveMind filter was the root cause of my problem. I reviewed that code and discovered how it shut the registry down in the destroy() method. I can convert to that.
-----Original Message----- From: Hensley, Richard [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 15, 2005 5:25 PM To: [email protected] Subject: Shuting down the Hivemind Registry I'm running into problems with the hivemind registry not getting shutdown in my web application. So, I'm implementing the following. public class HivemindContextListener implements ServletContextListener { /** * @see javax.servlet.ServletContextListener#contextInitialized(javax.servlet.Servle tContextEvent) */ public void contextInitialized(ServletContextEvent arg0) { } /** * @see javax.servlet.ServletContextListener#contextDestroyed(javax.servlet.ServletC ontextEvent) */ public void contextDestroyed(ServletContextEvent arg0) { /* get the registry and shut it down right here */ } } And in web.xml <listener> <listener-class> com.mckesson.lab.tc.HivemindContextListener</listener-class> </listener> I'm assuming this is the standard way to handle this problem for a web application. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
