Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 10722 invoked from network); 21 Apr 2010 12:40:32 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Apr 2010 12:40:32 -0000 Received: (qmail 80781 invoked by uid 500); 21 Apr 2010 12:40:28 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 80732 invoked by uid 500); 21 Apr 2010 12:40:28 -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 80723 invoked by uid 99); 21 Apr 2010 12:40:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Apr 2010 12:40:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.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; Wed, 21 Apr 2010 12:40:19 +0000 Received: from localhost (localhost [127.0.0.1]) by tor.combios.es (Postfix) with ESMTP id 311522261BF for ; Wed, 21 Apr 2010 14:39:34 +0200 (CEST) Received: from tor.combios.es ([127.0.0.1]) by localhost (tor.combios.es [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Hkd7Kmf4BXWU for ; Wed, 21 Apr 2010 14:39:34 +0200 (CEST) Received: from [192.168.245.129] (p549EA9D2.dip0.t-ipconnect.de [84.158.169.210]) by tor.combios.es (Postfix) with ESMTPA id D48F22261BC for ; Wed, 21 Apr 2010 14:39:33 +0200 (CEST) Message-ID: <4BCEF21D.5040603@ice-sa.com> Date: Wed, 21 Apr 2010 14:39:57 +0200 From: =?UTF-8?B?QW5kcsOpIFdhcm5pZXI=?= Reply-To: Tomcat Users List User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: How to run second instance of Tomcat 6.0.20 on separate port References: <4BCEDAA2.2050403@gmail.com> <4BCEE362.1000705@pidster.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Kapil Godara wrote: > Hi > > I copied the entire folder Tomcat 6.0 at C:\Program Files\Apache Software > Foundation (where tomcat is installed) to Tomcat_instance2 . ... Let's start again, from the beginning. This has been discussed many times on this forum, but I believe it is worth repeating it, because it is probably the source of the confusion. In the Tomcat website download page, there are several versions : - one is for Unix/Linux. That is a "complete" version, with all the files packed together in one .tar.gz file. To install it, you unpack these files under one new directory for Tomcat, and it creates a set of subdirectories conf, bin, etc.. But for Windows, there are *two* versions : - one is a "simple" version, named "installer", which is destined for the quick and simple installation of a single Tomcat under Windows, to run as a Windows Service. This is apparently the one you downloaded and installed. This version does not contain /all/ the same files as the one for Unix/Linux above, only a subset of them. - the other one is a "zip" version, which does contain all the same files as the Unix/Linux version, and even some additional ones. This version /also/ allows you to install Tomcat as a Windows Service, but this requires a bit more work. It also provides all the files necessary to install a second instance of Tomcat and run it as a second Windows Service. This is the one you should download now. My recommendation is : - remove the first version of Tomcat that you downloaded and installed (the .exe version). - download the zip version - decide on a "main" and "second" directories where you will run your two instances of Tomcat. I suggest that you pick directory paths that are simple, without spaces in the name. Like "c:\tomcat1" and "c:\tomcat2". That will save you time and problems later. - unzip the downloaded Tomcat zip version in the first directory. Note for the future that this is now your "CATALINA_HOME" directory. - in the directory c:\tomcat1\bin, run the "service.bat" script, to install this Tomcat instance as the first Windows Service. Give it the name "Tomcat1". For this Tomcat, the "CATALINA_BASE" is also "c:\tomcat1". When all the above is done and you have a running first Tomcat instance, then come back here for additional information on how to run an additional instance, using the same CATALINA_HOME, but a separate CATALINA_BASE. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org