Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 68270 invoked from network); 1 Jun 2006 14:58:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Jun 2006 14:58:29 -0000 Received: (qmail 67447 invoked by uid 500); 1 Jun 2006 14:57:53 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 67398 invoked by uid 500); 1 Jun 2006 14:57:53 -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 67344 invoked by uid 99); 1 Jun 2006 14:57:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jun 2006 07:57:53 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [193.109.254.3] (HELO mail19.messagelabs.com) (193.109.254.3) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 01 Jun 2006 07:57:50 -0700 X-VirusChecked: Checked X-Env-Sender: mark.hagger@m-spatial.com X-Msg-Ref: server-11.tower-19.messagelabs.com!1149173846!36959291!1 X-StarScan-Version: 5.5.10.7; banners=m-spatial.com,-,- X-Originating-IP: [212.44.22.81] Received: (qmail 24388 invoked from network); 1 Jun 2006 14:57:27 -0000 Received: from no-reverse.dialnet.com (HELO mailhost.m-spatial.com) (212.44.22.81) by server-11.tower-19.messagelabs.com with SMTP; 1 Jun 2006 14:57:27 -0000 Received: from giga.cambridge.m-spatial.com ([10.0.0.71]) by mailhost.m-spatial.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 1 Jun 2006 15:57:25 +0100 Subject: Re: Tomcat as a standalone webserver. Why not? From: Mark Hagger To: Tomcat Users List In-Reply-To: References: <1149157117.25128.37.camel@giga.cambridge.m-spatial.com> Content-Type: text/plain Date: Thu, 01 Jun 2006 15:57:35 +0100 Message-Id: <1149173855.25128.55.camel@giga.cambridge.m-spatial.com> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-4.fc4) Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 01 Jun 2006 14:57:25.0894 (UTC) FILETIME=[B1F0E260:01C6858B] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N As it happens I can't really begin to count the number of times we've applied "hacks" at the Apache level to work around code bugs (did I say bug? I meant feature...). Although to be fair most of these are caused by users/customers doing odd things outside the spec of the current code. We also deal heavily with accesses from mobile phones, each one of which has new and interesting features in its web browser, some of which just can't be easily dealt with without direct control over the request/response headers which Apache makes easy. But more generally another big win we have found is the ability to fairly easily have Apache catch certain requests (ie for specific users) and hand them off to development/staging systems rather than the production systems. This is used quite often in our test/release cycle, and avoids having to have the production system tomcat layer even know that such hacky stuff is going on, whilst outside users can't necessarily know which back-end system they are using. Mark On Thu, 2006-06-01 at 16:30 +0200, Danny Lee wrote: > Hi! > > Thanks for your answer. I use url-rewrite magic servlet (analog to > apache mod_rewrite), so I have the same "on the fly" rewrite > functionality (the rewrite-rules.xml is checked every minute or somth). > > I do all the request/response stuff in Tomcat as long it's relevant > and a part of the system I don't want to move a part of functionality > to Apache, I prefer having "all-in-one" solution (this is why I use > Quartz for scheduled tasks and not some chron-jobs). > > And I can't see the connection, why my code have to be perfectly bug > free? I mean, if I do have bugs Apache wont come and save my ass right? :)) ________________________________________________________________________ This email has been scanned for all known viruses by the MessageLabs SkyScan service. --------------------------------------------------------------------- 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