Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 62463 invoked from network); 4 Jul 2007 10:12:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jul 2007 10:12:14 -0000 Received: (qmail 81802 invoked by uid 500); 4 Jul 2007 10:11:59 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 81772 invoked by uid 500); 4 Jul 2007 10:11:59 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 81761 invoked by uid 99); 4 Jul 2007 10:11:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jul 2007 03:11:59 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of delbd+jakarta@oma.be designates 193.190.231.71 as permitted sender) Received: from [193.190.231.71] (HELO bonnie.oma.be) (193.190.231.71) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jul 2007 03:11:55 -0700 Received: from bonnie.oma.be (localhost [127.0.0.1]) by bonnie.oma.be (8.13.6/8.11.1) with ESMTP id l64ABYl9023365 for ; Wed, 4 Jul 2007 10:11:34 GMT Received: from [193.190.249.120] (cal-12.oma.be [193.190.249.120]) by bonnie.oma.be (8.13.6/8.11.1) with ESMTP id l64ABXtI023362 for ; Wed, 4 Jul 2007 10:11:33 GMT Message-ID: <468B7232.7010903@oma.be> Date: Wed, 04 Jul 2007 12:10:58 +0200 From: David Delbecq User-Agent: Thunderbird 1.5.0.12 (X11/20070604) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Initialize something once when deploying war file References: <11428024.post@talk.nabble.com> In-Reply-To: <11428024.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org use a inside web.xml. They get notified when starting and stopping webapplication En l'instant pr�cis du 04/07/07 11:49, Trumml s'exprimait en ces termes: > I'm using JBoss 327 with Tomcat 5. > My applications running inside JBoss (Tomcat) need some kind of "runtime > initializing". For example when a MBean is deployed, inside the start() > method my runtime will be initialized. > How can I achieve this with a WAR file? I want to call a method once when my > WAR file is deployed. > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org