Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 39771 invoked from network); 15 Sep 2010 19:47:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Sep 2010 19:47:47 -0000 Received: (qmail 66245 invoked by uid 500); 15 Sep 2010 19:47:44 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 66116 invoked by uid 500); 15 Sep 2010 19:47:43 -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 66107 invoked by uid 99); 15 Sep 2010 19:47:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Sep 2010 19:47:43 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.9] (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 15 Sep 2010 19:47:42 +0000 Received: (qmail 38346 invoked by uid 99); 15 Sep 2010 19:47:22 -0000 Received: from localhost.apache.org (HELO [192.168.23.9]) (127.0.0.1) (smtp-auth username markt, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Sep 2010 19:47:22 +0000 Message-ID: <4C9122C6.1070202@apache.org> Date: Wed, 15 Sep 2010 20:47:18 +0100 From: Mark Thomas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-GB; rv:1.9.2.9) Gecko/20100825 Thunderbird/3.1.3 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: How to set start up sequence of application in tomcat References: In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 15/09/2010 20:43, Ashish Kulkarni wrote: > Hi > I have deployed 3 applications in tomcat, is there a way to setup startup > sequence of these applications in tomcat, for example if i have test, test1, > test2 as application then i would like to start test2 first, test1 second > and test last, as test needs some information from test1. > > Any ideas The only pure configuration way to do this is to define the Context elements in server.xml. Contexts will be deployed in the order you define them. Defining Context elements in server.xml has some significant down sides that have been discussed plenty of times in the past. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org