Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 4567 invoked from network); 23 Jan 2008 17:10:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jan 2008 17:10:59 -0000 Received: (qmail 61418 invoked by uid 500); 23 Jan 2008 17:10:39 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 61386 invoked by uid 500); 23 Jan 2008 17:10:39 -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 61375 invoked by uid 99); 23 Jan 2008 17:10:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jan 2008 09:10:39 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [195.227.30.246] (HELO datura.kippdata.de) (195.227.30.246) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jan 2008 17:10:12 +0000 Received: from [195.227.30.148] (larix [195.227.30.148]) by datura.kippdata.de (8.13.5/8.13.5) with ESMTP id m0NHAE6g028381 for ; Wed, 23 Jan 2008 18:10:16 +0100 (CET) Message-ID: <479774F6.2070209@kippdata.de> Date: Wed, 23 Jan 2008 18:10:14 +0100 From: Rainer Jung User-Agent: Thunderbird 2.0.0.6 (X11/20070802) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Servlet or filter (or valve) that acts like mod_jk References: <47976B32.9030402@uga.edu> <47976D06.4000206@joedog.org> In-Reply-To: <47976D06.4000206@joedog.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Tim Funk wrote: > Have you tried .. http://sourceforge.net/projects/j2ep > > I do not know of a jk implemention done in java. JMeter includes an AJP13 client. I would expect that to be overkill though. I also do not know of any fully featured Java based reverse proxy servlet. In your case, you might be able to write something reasonable on top of httpclient for the HTTP protocol (using http to the backend and not AJP13). It's not trivial, because e.g. you can't simply forward all HTTP headers (some of them indicate prtocol features, and if you forward them you need to configure your backend connection to be in compliance with what the headers indicate - example: connection keep alive handling). Nevertheless, if you understand the cases for which you actually need the forwarding good enough and they are limited in variation, it might be best to write the servlet from scratch using httpclient for the protocol part. > > -Tim > > Brantley Hobbs wrote: >> All, >> >> I have rather an odd situation that I'm hoping someone can give me >> some advice on. >> >> Short version: >> I need to know if there's a servlet, filter or valve that can be used >> to provide the same functionality as mod_jk does for Apache. In other >> words, I want to map certain requests to a JK connector running on a >> different servlet container. Regards, Rainer --------------------------------------------------------------------- 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