Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 98534 invoked from network); 2 Jun 2005 14:52:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Jun 2005 14:52:59 -0000 Received: (qmail 77371 invoked by uid 500); 2 Jun 2005 14:52:42 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 77341 invoked by uid 500); 2 Jun 2005 14:52:41 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 77323 invoked by uid 99); 2 Jun 2005 14:52:41 -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 ev1s-216-127-94-29.ev1servers.net (HELO ensim.rackshack.net) (216.127.94.29) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 02 Jun 2005 07:52:40 -0700 Received: from pcandres (80-28-25-134.adsl.nuria.telefonica-data.net [80.28.25.134]) (authenticated (0 bits)) by ensim.rackshack.net (8.11.6/8.11.6) with ESMTP id j52EwrA16371 for ; Thu, 2 Jun 2005 16:58:54 +0200 Message-ID: <000501c56782$b08e6aa0$7b00a8c0@pcandres> From: "=?iso-8859-1?Q?Andr=E9s_Glez.?=" To: "Tomcat Users List" Subject: Context at Host Level Date: Thu, 2 Jun 2005 16:52:23 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi If i define a jndi resource at the host level, how can i know when tomcat is being stopped to "finalize" that resource? I mean, in a webapp context level, i can define a ServletContextListener so i can get the event "ContextDestroyed" and close, say, some opened files. I've been searching and have only found - ServletContextListener - HttpSessionListener there is no "ContainerListener" or something like that? --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org