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 36CF4CFCA for ; Mon, 2 Jul 2012 21:35:13 +0000 (UTC) Received: (qmail 65549 invoked by uid 500); 2 Jul 2012 21:35:09 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 65496 invoked by uid 500); 2 Jul 2012 21:35:09 -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 65487 invoked by uid 99); 2 Jul 2012 21:35:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jul 2012 21:35:09 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FSL_FREEMAIL_1,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [98.138.229.41] (HELO nm31-vm1.bullet.mail.ne1.yahoo.com) (98.138.229.41) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 02 Jul 2012 21:35:00 +0000 Received: from [98.138.90.56] by nm31.bullet.mail.ne1.yahoo.com with NNFMP; 02 Jul 2012 21:34:39 -0000 Received: from [98.138.89.198] by tm9.bullet.mail.ne1.yahoo.com with NNFMP; 02 Jul 2012 21:34:39 -0000 Received: from [127.0.0.1] by omp1056.mail.ne1.yahoo.com with NNFMP; 02 Jul 2012 21:34:39 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 124752.3435.bm@omp1056.mail.ne1.yahoo.com Received: (qmail 25135 invoked by uid 60001); 2 Jul 2012 21:34:39 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1341264879; bh=0ctme6khAYEwkQVywPFhFB8gdNEan8y6dZnIbt8B46g=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=x+ACeOOvTzkufFoYjgwEOsIpm4ReXhqFp05FLWPfEG96FgodyhJ7EG0AbzLgoUyEzKYqkz0DeUA8not0aQyITZK4QH9bRQLe1UB43HMOSZHgLCkrEEzIfW/cg/eHj5xCUQWGoC8Wk/hA9nGQ4kK2NOEzwn33yyJtNglx0DiUO5Y= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=JMaxlESzGCC2ZaOkWyC4J7mTN4laeWNcwbuVOiiSPR1RQU+1G6T2wUGvQKpzp63g3gm5v6Ew+88TjpRWX/P0jey4O318DaBG1/OkctS/ThN5vUXdJJvOswlGmfr2ESYmFOTXWGHjS3IDtEYTxC2IMXoFr6N/rjmtQ2aw5OyF+kw=; X-YMail-OSG: G8ag6R0VM1lBIn6WhvJfciWxYjksZU1Y9XsfKwrcaINQNfW fwtO7xc6nybFrsJ3HAsI783z2KZGmf2NXn7s7DabrQK0biM2yRSpZhBZT74t ivfck_wI9sTmh1eVPQY9q9dz9LtUzcD6zf7vS5ezS5a9S5Sz9ZAHQOMsyFYs PefDQmm8T_3QBAL4X0.S2xxMBw8oq8l0RnYOHzzV8G4CZGWpu7s38RY3NVDu WN2PJyG767ZRdOicdOdl_LRZ4fkK5HvtTLQAZCp0YsCxH8F1UYAC0sRIt0Oa OIkVAv.t7g1toexrW0j94h0b1zQGzOO_GFEoCIqpoHNOyZZ0tE5uHQy6mJrP Oh2x_in9biTUYiHhGWOtXlRX9gpBsvDkT0dbO2k1bgdv4EL3vC4bpXTdNKQF vTiuc1e_yFpHJkFAITZlSjeI0fg8cm92IT.4pWv1LQZ3SmadgzWczGE4lrdV H4W8IZRDuC6_r03m15fItegd.98wunQ.vdpu3tpa_4w25rLrhF3Ki4jUPHPw LnOu5Fz3mkfSzjoecMGDsch0G7BA- Received: from [71.129.37.224] by web125503.mail.ne1.yahoo.com via HTTP; Mon, 02 Jul 2012 14:34:39 PDT X-Mailer: YahooMailWebService/0.8.120.356233 References: Message-ID: <1341264879.18459.YahooMailNeo@web125503.mail.ne1.yahoo.com> Date: Mon, 2 Jul 2012 14:34:39 -0700 (PDT) From: Mark Eggers Reply-To: Mark Eggers Subject: Re: General Architecture Question for multiple websites on a single RedHat server To: Tomcat Users List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable ----- Original Message -----=0A=0A> From: "Simon, Leonard" =0A> To: users@tomcat.apache.org=0A> Cc: =0A> Sent: Monday, July 2, = 2012 1:32 PM=0A> Subject: General Architecture Question for multiple websit= es on a single RedHat server=0A> =0A> Our goals are as follows:=0A> =0A> Th= e operating system will be RHEL 6.X.=0A> =0A> We want to run Apache and Tom= cat on a single server running five websites=0A> using different ports for = each.=0A> =0A> Our goal is to manage each web server independently, i.e., s= eparate=0A> shutdown and startup scripts and hopefully=A0 different log fil= es for each=0A> web server.=0A> =0A> We noticed the bundled Apache/Tomcat w= ith RedHat might only give us a=0A> standard install. Is there a way to do = an alternate path install?=0A> =0A> Thanks and look forward to some ideas o= n how to accomplish this.=0A> =0A=0A1. Don't use the distribution package -= download from tomcat.apache.org=0A2. Use CATALINA_HOME / CATALINA_BASE - s= ee RUNNING.txt for pointers=0A3. Create an unprivileged user for running th= e Tomcats=0A4. Create a template server init script for starting and stoppi= ng (version, status, etc) Tomcat=0A5. Copy the template init script to each= named service (tomcat1, tomcat2, tomcat3, etc.)=0A6. Optionally place serv= ice-specific parameters in an /etc/sysconfig subdirectory=0A7. Add the serv= ices with chkconfig=0A8. Start and stop each service separately=0A=0ADon't = forget to change the relevant ports in each server.xml file. An ant script = with the xmltask add-on is quite handy for doing this. You can then write a= properties file with configuration specifics for each CATALINA_BASE, run t= he ant tasks to create the CATALINA_BASE, service support files, etc., and = then install. The properties files then become a nice base document for all= of the Tomcat servers that you've installed.=0A=0AAlternatively, if all of= your web sites have similar uptime / control / access requirements, you ca= n run all 5 sites using a combination of named virtual hosts on Apache HTTP= D and virtual hosts on Tomcat.=0A=0AOr a combination of the above . . . It = all depends on your requirements.=0A=0A. . . . just my two cents.=0A/mde/ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org