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 C550C108E8 for ; Wed, 1 May 2013 00:45:37 +0000 (UTC) Received: (qmail 77849 invoked by uid 500); 1 May 2013 00:45:34 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 77760 invoked by uid 500); 1 May 2013 00:45:33 -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 77749 invoked by uid 99); 1 May 2013 00:45:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 May 2013 00:45:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dckerber@verizon.net designates 206.46.173.15 as permitted sender) Received: from [206.46.173.15] (HELO vms173015pub.verizon.net) (206.46.173.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 May 2013 00:45:26 +0000 Received: from [192.168.11.7] ([unknown] [108.34.148.198]) by vms173015.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MM3007ZRGR4MU70@vms173015.mailsrvcs.net> for users@tomcat.apache.org; Tue, 30 Apr 2013 19:45:04 -0500 (CDT) Message-id: <5180658E.30705@verizon.net> Date: Tue, 30 Apr 2013 20:45:02 -0400 From: David Kerber User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-version: 1.0 To: Tomcat Users List Subject: Re: Multiple tomcat containers or instance on same servers References: <14611197A9EA9E409A62B52BBB130841700C4A2FB9@LTEXCH01.lt.admin.ch> In-reply-to: Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 4/30/2013 4:34 PM, chris derham wrote: >> Thanks for all your feedbacks. >> >> Is multiple versions supported or all instances have to be the same build. > > You can have it any which way you wish, e.g. single tomcat in single > catalina_home with multiple instances each with own catalina_base, or > multiple versions of tomcat each in own catalina_home each with one or > more instance each with own catalina_base. You can setup a right mess > if you wish... Yeah, what he said... I have done it both ways, depending on the requirements of the apps being hosted. I prefer to have only one instance of TC installed, but have at times had multiple versions running during transition periods. > >>> I thought sure that the Tomcat Windows Service page of the users' guide, >>> but it is /not/ there: >>> http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html >>> >>> I wonder if there are any heavy Microsoft Windows users that could >>> offer to write a section on Multiple Tomcat Instances specifically >>> with Microsoft Windows Services. The file RUNNING.txt only explains >>> how to set up Tomcat itself (CATALINA_HOME versus CATALINA_BASE) but >>> says nothing about how to configure Tomcat's service runner to point >>> to one (other than inferring that one ought to set CATALINA_HOME and >>> CATALINA_BASE appropriately). >>> >>> For instance, it's probably important to give the services distinct >>> names ;) > > The only things that seem to be missing are > > a) set CATALINA_HOME and CATALINA_BASE before running service.bat > b) when run service.bat, specific a unique service name > c) you need to copy some files around to allow the CATALINA_BASE to be > different from each other, e.g. port config > > e.g. > > set CATALINA_HOME=c:\tomcat > set CATALINA_BASE=c:\tomcat\instances\instance1 > service install tomcat1 > > Then to install instance two, just run > > set CATALINA_BASE=c:\tomcat\instances\instance2 > service install tomcat2 > > If anyone else wants to chip in with any relevant additions, let me > know. I might be able to have a look at updating the documentation > page later, but being as I'm a developer my linguistic skills have > never really been approved off so not sure any changes will be > approved :-) > > HTH > > Chris > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org