Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 65035 invoked from network); 28 Jul 2009 17:27:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Jul 2009 17:27:42 -0000 Received: (qmail 17709 invoked by uid 500); 28 Jul 2009 17:28:55 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 17672 invoked by uid 500); 28 Jul 2009 17:28:55 -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 17661 invoked by uid 99); 28 Jul 2009 17:28:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jul 2009 17:28:55 +0000 X-ASF-Spam-Status: No, hits=2.7 required=10.0 tests=SPF_NEUTRAL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [76.96.27.212] (HELO QMTA14.emeryville.ca.mail.comcast.net) (76.96.27.212) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jul 2009 17:28:43 +0000 Received: from OMTA23.emeryville.ca.mail.comcast.net ([76.96.30.90]) by QMTA14.emeryville.ca.mail.comcast.net with comcast id MTD21c0031wfjNsAEVUNm8; Tue, 28 Jul 2009 17:28:22 +0000 Received: from [192.168.1.101] ([69.143.128.194]) by OMTA23.emeryville.ca.mail.comcast.net with comcast id MVWW1c0064BnRt98jVWkst; Tue, 28 Jul 2009 17:30:53 +0000 Message-ID: <4A6F3509.8000203@christopherschultz.net> Date: Tue, 28 Jul 2009 13:27:37 -0400 From: Christopher Schultz User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Multiple tomcat instances in linux server References: <738733868.282571248773469081.JavaMail.root@serams010.sita.co.za> In-Reply-To: <738733868.282571248773469081.JavaMail.root@serams010.sita.co.za> X-Enigmail-Version: 0.96a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 To whom it may concern, On 7/28/2009 5:31 AM, given.shirinda@sita.co.za wrote: > I want to run multiple tomcats in my server,I tried the following > tutorials from this link > http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html. That link is for clustering. If you just want to run multiple Tomcat instances, just read the RUNNING.txt file that ships with Tomcat: the section is called "Advanced Configuration - Multiple Tomcat Instances". > to Good. > maxHttpHeaderSize="8192"... Good. > to > Good. > For tomcat_instances2. > I made this changes > > to Good. > maxHttpHeaderSize="8192"... Good. > to > Bad: this one is set to the same as above. I think you probably meant to use port="8020", based upon how you've been numbering things. Note that the "redirectPort" will have to be something that will get you to an HTTPS connector, which you haven't defined. If a user is redirected to an HTTPS URL, then the port number will be wrong. > when I start the parent tomcat > > /opt/apache-tomcat-5.5.25/bin/.startup.sh .startup.sh? What about running startup.sh? > The logs file for this apache-tomcat-5.5.25 is empty Which exact file did you look at? > when I type this to browser, > http://localhost:8080 it says Failed to Connect > > when I start the second tomcat ,it worked fine > > http://localhost:8010 Right: one of your Tomcats started correctly (the one that started first) and one failed to start because the port number (8019) was unavailable. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkpvNQkACgkQ9CaO5/Lv0PB2fQCdGrzsHuS0jDwnRX5CiOwPOpQb zF4AoLSwxKcfBo7QhhEaa5mheVOcRe6r =UQKV -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org