Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 70699 invoked from network); 7 Mar 2011 20:16:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Mar 2011 20:16:31 -0000 Received: (qmail 5607 invoked by uid 500); 7 Mar 2011 20:16:27 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 5549 invoked by uid 500); 7 Mar 2011 20:16:27 -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 5540 invoked by uid 99); 7 Mar 2011 20:16:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Mar 2011 20:16:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aw@ice-sa.com designates 212.85.38.228 as permitted sender) Received: from [212.85.38.228] (HELO tor.combios.es) (212.85.38.228) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Mar 2011 20:16:18 +0000 Received: from [192.168.245.129] (p549E0DE2.dip0.t-ipconnect.de [84.158.13.226]) by tor.combios.es (Postfix) with ESMTPA id EAD42226265 for ; Mon, 7 Mar 2011 21:15:57 +0100 (CET) Message-ID: <4D753CFC.4020108@ice-sa.com> Date: Mon, 07 Mar 2011 21:15:56 +0100 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= Reply-To: Tomcat Users List User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Running Tomcat as service - is it possible to make "tomcat7.exe" run a batch file each time it starts? References: <31081552.post@talk.nabble.com> <99C8B2929B39C24493377AC7A121E21FACD7F89832@USEA-EXCH8.na.uis.unisys.com> <31081607.post@talk.nabble.com> <31083468.post@talk.nabble.com> <31089716.post@talk.nabble.com> In-Reply-To: <31089716.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Evgeny Goldin wrote: .. > > What could probably be taken here for the Tomcat team is "onStartup.bat" > that always runs on Tomcat's startup, regardless of how it was done - via > "catalina.bat" or "tomcat7.exe". Same could be done for "onShutdown.bat". +1 Sounds like a good idea. Would also allow to do simple things such as cleaning up or archiving logfiles e.g., in a "sysadmin kind of way" rather than a "java programmer kind of way". --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org