Return-Path: Delivered-To: apmail-jakarta-hivemind-user-archive@www.apache.org Received: (qmail 43612 invoked from network); 16 Feb 2005 01:28:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 16 Feb 2005 01:28:03 -0000 Received: (qmail 4828 invoked by uid 500); 16 Feb 2005 01:28:02 -0000 Delivered-To: apmail-jakarta-hivemind-user-archive@jakarta.apache.org Received: (qmail 4812 invoked by uid 500); 16 Feb 2005 01:28:02 -0000 Mailing-List: contact hivemind-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: hivemind-user@jakarta.apache.org Delivered-To: mailing list hivemind-user@jakarta.apache.org Received: (qmail 4798 invoked by uid 99); 16 Feb 2005 01:28:02 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail2.mckhboc.com (HELO mail2.mckhboc.com) (208.147.67.99) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 15 Feb 2005 17:28:01 -0800 Received: from 139.177.6.216 by mail2.mckhboc.com with ESMTP (Outbound Mail2 SMTP Relay (MMS v5.6.1)); Tue, 15 Feb 2005 17:27:41 -0800 X-Server-Uuid: 885813DB-AA88-4D50-BF2F-AD3192B1E567 Received: by smtpout.hboc.com with Internet Mail Service (5.5.2657.72) id ; Tue, 15 Feb 2005 20:25:23 -0500 Received: from atlexc91nthub.hboc.com (ims2.mckesson.com [139.177.6.115] ) by atlexcsmtpa.hboc.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id DKXY6YQF; Tue, 15 Feb 2005 20:25:20 -0500 Received: by ims2.mckesson.com with Internet Mail Service (5.5.2657.72) id ; Tue, 15 Feb 2005 20:27:54 -0500 From: "Hensley, Richard" To: hivemind-user@jakarta.apache.org X-Mailer: Internet Mail Service (5.5.2657.72) Message-ID: Subject: RE: Shuting down the Hivemind Registry Date: Tue, 15 Feb 2005 20:26:59 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) X-WSS-ID: 6E0C7E0716W21288910-01-01 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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:Richard.Hensley@McKesson.com] Sent: Tuesday, February 15, 2005 5:25 PM To: hivemind-user@jakarta.apache.org 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 com.mckesson.lab.tc.HivemindContextListener I'm assuming this is the standard way to handle this problem for a web application. --------------------------------------------------------------------- To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: hivemind-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: hivemind-user-help@jakarta.apache.org