Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 59277 invoked from network); 15 May 2008 16:47:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 May 2008 16:47:29 -0000 Received: (qmail 3218 invoked by uid 500); 15 May 2008 16:47:18 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 3198 invoked by uid 500); 15 May 2008 16:47:18 -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 3187 invoked by uid 99); 15 May 2008 16:47:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 May 2008 09:47:18 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [212.23.3.142] (HELO smarthost03.mail.zen.net.uk) (212.23.3.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 May 2008 16:46:24 +0000 Received: from [82.70.116.177] (helo=mail.melandra.com) by smarthost03.mail.zen.net.uk with esmtps (TLS-1.0:RSA_ARCFOUR_MD5:16) (Exim 4.63) (envelope-from ) id 1JwgbN-0001vK-NU for users@tomcat.apache.org; Thu, 15 May 2008 16:46:45 +0000 Received: from puma.melandra.net ([10.0.0.251]) by puma.melandra.net ([10.0.0.251]) with mapi; Thu, 15 May 2008 17:46:44 +0100 From: Peter Crowther To: 'Tomcat Users List' Date: Thu, 15 May 2008 17:46:43 +0100 Subject: RE: Redirect request to another Tomcat server Thread-Topic: Redirect request to another Tomcat server Thread-Index: Aci2qtpX0Znus635TMSC+p+cMBJwoAAACfvw Message-ID: <6715CF65287F8F408DA109EC03AC6C0D03C63AD553@puma.melandra.net> References: <3A55348B50FD2A40AAA40ABA16C6B6D60E7CD867@EXNJMB23.nam.nsroot.net> <482C67E5.3000302@goldigolino.com.es> In-Reply-To: <482C67E5.3000302@goldigolino.com.es> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-GB Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Originating-Smarthost03-IP: [82.70.116.177] X-Virus-Checked: Checked by ClamAV on apache.org I'd write a Valve that pre-processes all of the incoming requests to the se= rver. It's capable of intercepting requests before the webapps see them, a= nd it's capable of refusing to process. I *think* you have, or can get, al= l the information you need at the point the valve runs. - Peter > -----Original Message----- > From: Liang Xiao Zhu [mailto:ubekhet@goldigolino.com.es] > Sent: 15 May 2008 17:42 > To: Tomcat Users List > Subject: Re: Redirect request to another Tomcat server > > Yes, maybe you are right that I couldn't salvage a session. > So, How can > manage that using as session, I mean can I redirect the > Tomcat sessions? > For example, I detected a session that I dont want to > response, and so I > want to redirect this session, How I have to do that? > > Thanks in advance!!! > > Propes, Barry L escribi=F3: > > you'd probably have to hard code an http path in there, but > I don't think you could salvage a session could you? Maybe you could. > > > > -----Original Message----- > > From: ubekhet [mailto:ubekhet@goldigolino.com.es] > > Sent: Wednesday, May 14, 2008 6:36 PM > > To: users@tomcat.apache.org > > Subject: Redirect request to another Tomcat server > > > > > > Hi everyone, > > > > I am wondering, if there is some posibility to redirect the > request from > > one Tomcat Server to another one. I would like to know where is the > > point to change that. Basically, in one Tomcat Server I recieve the > > request I will check the headers and then depending of some > parameters I > > will redirect the same request to another Tomcat or not. > > > > In fact, I have been looking at some files, such as, > > Http11NioProtocol.java and Http11NioProcessor.java, because > both files > > are for managing the connector of Tomcat, in this case the connector > > Coyote using NIO. > > > > Thans in advance!!! > > > > > --------------------------------------------------------------------- > > 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 > > > > > > > --------------------------------------------------------------------- > > 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 > > > > > > > --------------------------------------------------------------------- > 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 > > --------------------------------------------------------------------- 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