Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 35415 invoked from network); 27 Apr 2009 23:28:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Apr 2009 23:28:51 -0000 Received: (qmail 50374 invoked by uid 500); 27 Apr 2009 23:28:47 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 50339 invoked by uid 500); 27 Apr 2009 23:28:47 -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 50328 invoked by uid 99); 27 Apr 2009 23:28:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2009 23:28:47 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.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; Mon, 27 Apr 2009 23:28:39 +0000 Received: from localhost (localhost [127.0.0.1]) by tor.combios.es (Postfix) with ESMTP id 79B8C226073 for ; Tue, 28 Apr 2009 01:26:05 +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 maKdIV8epMPy for ; Tue, 28 Apr 2009 01:26:05 +0200 (CEST) Received: from [192.168.245.129] (p549EB427.dip0.t-ipconnect.de [84.158.180.39]) by tor.combios.es (Postfix) with ESMTPA id 1F85222606E for ; Tue, 28 Apr 2009 01:26:05 +0200 (CEST) Message-ID: <49F63F81.50908@ice-sa.com> Date: Tue, 28 Apr 2009 01:28:01 +0200 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= Reply-To: aw@ice-sa.com User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Why we need two servers (httpd and tomcat) References: <5a5c29e70904270751h1d62bda5y6baad86066accba7@mail.gmail.com> <49F5DCB6.4000905@haneke.de> <6B028542C4A77D4CB7F06CCC1C1AEB1D018BA6B2FF@AUSP01VMBX03.collaborationhost.net> <327858f40904271059y17af1175g993fa51d22055afe@mail.gmail.com> <49F605B5.6090603@ice-sa.com> <327858f40904271341m3217daf8ifdc253cdf7c1fbd7@mail.gmail.com> <6B028542C4A77D4CB7F06CCC1C1AEB1D018BA6B462@AUSP01VMBX03.collaborationhost.net> In-Reply-To: <6B028542C4A77D4CB7F06CCC1C1AEB1D018BA6B462@AUSP01VMBX03.collaborationhost.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Robin Wilson wrote: > For the record, my answer was neither stupid or reflexive. And for the record, I personally did not think it was either. I agree with Leon when he says that some people just automatically put an Apache in front of a Tomcat when they don't really need to, just by habit or because they've found a configuration to copy, and without even thinking about whether they really need it. Or maybe just because the server comes that way pre-installed. Then they add a JkMount /* ajp13 ;-) Or they configure a load-balancer to balance one single back-end.. Or they set Apache's DocumentRoot to the Tomcat webapps directory, just because it's easier and this way all the links work (usually in even more ways than they expect). On the other hand, I also believe, contrarily to Leon, that there are plenty of practical cases where running some back-end Java applications on a Tomcat server is necessary, but is not the main purpose of the site, and thus having an Apache httpd in front comes in very handy or is necessary. And provided you know what you're doing, the additional overhead due to mod_jk is going to take 100 years to overtake the cost of two days of trying to figure out how to do the same in Tomcat. It also depends very much on the skills at hand. Given a certain problem, the "right" solution will be different depending on whether you have a staff of mostly java-oriented people, or not. So this was not a flame, just an attempt at restoring some balance which I felt was a bit upset by Leon's diatribe. Thus, to the original poster : I believe that by now you should have a relative balance of arguments allowing you to decide when one needs only Apache httpd, only Tomcat, or a combination. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org