Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 78668 invoked from network); 13 May 2008 16:07:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 May 2008 16:07:39 -0000 Received: (qmail 7865 invoked by uid 500); 13 May 2008 16:07:28 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 7720 invoked by uid 500); 13 May 2008 16:07: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 7709 invoked by uid 99); 13 May 2008 16:07:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 May 2008 09:07:27 -0700 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: local policy) Received: from [12.11.148.84] (HELO irp2.ptc.com) (12.11.148.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 May 2008 16:06:32 +0000 X-IronPort-AV: E=Sophos;i="4.27,480,1204520400"; d="scan'208";a="18378056" Received: from hq-ex3fe2.ptcnet.ptc.com ([132.253.201.63]) by irp2.ptc.com with ESMTP; 13 May 2008 12:06:53 -0400 Received: from [132.253.10.160] ([132.253.10.160]) by HQ-EX3FE2.ptcnet.ptc.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 13 May 2008 12:06:53 -0400 Message-ID: <4829BCFA.2060408@ptc.com> Date: Tue, 13 May 2008 11:08:26 -0500 From: Jess Holle User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Few public ports w/many Tomcat instances References: <2B98656491603B4C90E8D7CEABF229EFF25B64@server.NWM.local> In-Reply-To: <2B98656491603B4C90E8D7CEABF229EFF25B64@server.NWM.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 13 May 2008 16:06:53.0367 (UTC) FILETIME=[5C10CC70:01C8B513] X-Virus-Checked: Checked by ClamAV on apache.org Mike Volk wrote: > I'm a Java developer and reluctant/under-qualified server administrator > formulating a strategy for transitioning two production web apps from > Resin to Tomcat. > > I'm familiar with connecting multiple Resin instances to a single Apache > instance, such that all of the Resin instances (on ports in the 808X > range) are accessible via Apache on ports 80 and 443. I get the gist of > how to do this using Tomcat behind Apache, and how to provide direct > access to multiple instances of Tomcat standalone (without Apache) using > the hostname in combination with the corresponding Tomcat instance's > unique port number. > > Unfortunately, I must run multiple instances of Tomcat, I must run those > instances on the same machine, and I cannot provide public access to > that (production) machine on any ports other than 80 (http) and 443 > (https). Yes, both web apps use both http and https. > > Is there a better/faster/easier alternative to using Apache as a > front-end "port proxy server" (via vhosts) for my multiple Tomcat > instances? Tomcat alone appears to provide all the web server features I > need, except for the aforementioned "port proxy" functionality. Perhaps > a third instance of Tomcat could do that? Perhaps there is an even more > elegant solution?? > I'm not aware of any better solutions. Apache does work quite well in this role. That said, it would be nice if there was a Java replacement for Apache in this infrastructure. It could still use AJP as the communication protocol and could be an instance of Tomcat or Glassfish or a special web app as far as I'm concerned -- though ideally it would use NIO rather than APR as having to build/maintain/distribute native code for various platforms is the main issue with Apache as I see it. -- Jess Holle --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org