Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DF684DF19 for ; Tue, 28 May 2013 22:03:21 +0000 (UTC) Received: (qmail 95806 invoked by uid 500); 28 May 2013 22:03:18 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 95658 invoked by uid 500); 28 May 2013 22:03:18 -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 95649 invoked by uid 99); 28 May 2013 22:03:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 May 2013 22:03:18 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Chuck.Caldarale@unisys.com designates 216.82.251.5 as permitted sender) Received: from [216.82.251.5] (HELO mail1.bemta12.messagelabs.com) (216.82.251.5) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 May 2013 22:03:11 +0000 Received: from [216.82.249.131:16954] by server-5.bemta-12.messagelabs.com id 41/0A-04146-98925A15; Tue, 28 May 2013 22:02:49 +0000 X-Env-Sender: Chuck.Caldarale@unisys.com X-Msg-Ref: server-4.tower-28.messagelabs.com!1369778562!27572938!10 X-Originating-IP: [192.61.61.104] X-StarScan-Received: X-StarScan-Version: 6.9.6; banners=-,-,- X-VirusChecked: Checked Received: (qmail 25814 invoked from network); 28 May 2013 22:02:49 -0000 Received: from unknown (HELO USEA-NAEDGE1.unisys.com) (192.61.61.104) by server-4.tower-28.messagelabs.com with RC4-SHA encrypted SMTP; 28 May 2013 22:02:49 -0000 Received: from usea-nahubcas2.na.uis.unisys.com (129.224.76.115) by USEA-NAEDGE1.unisys.com (192.61.61.104) with Microsoft SMTP Server (TLS) id 8.3.83.0; Tue, 28 May 2013 17:02:34 -0500 Received: from USEA-EXCH8.na.uis.unisys.com ([129.224.76.41]) by usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) with mapi; Tue, 28 May 2013 17:02:35 -0500 From: "Caldarale, Charles R" To: Tomcat Users List Date: Tue, 28 May 2013 17:02:34 -0500 Subject: RE: Is there a way to make manager applications be first ones loaded? Thread-Topic: Is there a way to make manager applications be first ones loaded? Thread-Index: Ac5b7UXXeap0p16MS8ma6ApgIG5OPAAAQ9cA Message-ID: <99C8B2929B39C24493377AC7A121E21FC4B09C08C6@USEA-EXCH8.na.uis.unisys.com> References: <3195F40E-8718-4989-9769-F0F9519562A2@nicholaswilliams.net> In-Reply-To: <3195F40E-8718-4989-9769-F0F9519562A2@nicholaswilliams.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org > From: Nick Williams [mailto:nicholas@nicholaswilliams.net]=20 > Subject: Is there a way to make manager applications be first ones loaded= ? > The FileNotFoundExceptions in our Ant build happen when the Ant task=20 > successfully contacts Tomcat but Tomcat returns a 404 for the manager > because that application hasn't started yet. That's unpleasant. Why not have your Ant task contact the manager app, and only proceed when a= positive response is received? > So, is there a way to make the manager application or applications always= =20 > be the first ones loaded? By spec requirement, no. You can play games with autoDeploy and deployOnSt= artup to force the manager to be the only one loaded automatically, and the= n have your startup script load the others, but that can get messy. You might want to experiment with the startStopThreads attribute of the element to allow applications to be deployed in parallel rather than se= quentially. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MA= TERIAL and is thus for use only by the intended recipient. If you received = this in error, please contact the sender and delete the e-mail and its atta= chments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org