Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 69655 invoked from network); 10 Feb 2005 07:16:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 10 Feb 2005 07:16:38 -0000 Received: (qmail 6611 invoked by uid 500); 10 Feb 2005 07:16:29 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 6573 invoked by uid 500); 10 Feb 2005 07:16:29 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 6559 invoked by uid 99); 10 Feb 2005 07:16:29 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from ns.conti.de (HELO ws2.conti.de) (193.98.108.129) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 09 Feb 2005 23:16:28 -0800 Received: from (193.99.3.86) by ws2.conti.de via smtp id 67cd_d8d6c690_7b34_11d9_97e5_0002b3eef54a; Thu, 10 Feb 2005 08:24:49 +0100 (CET) Subject: Re: Custom load balancing algorithm and mod_jk??? To: "Tomcat Developers List" X-Mailer: Lotus Notes Release 5.0.10 March 22, 2002 Message-ID: From: Albrecht Rieger Date: Thu, 10 Feb 2005 08:16:22 +0100 X-MIMETrack: Serialize by Router on HSLC002/srvc1/srvc/cag(Release 6.5.3|September 14, 2004) at 02/10/2005 08:16:25 AM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N hi Mladen, are you able to tell me, how to get rid of all this apache and tomcat emails I get and I do definitely NOT want ? best regards albrecht ___________________________________________ Proprietary and confidential. Distribution only by express authority of Continental AG or its subsidiaries Mladen Turk > cc: Subject: Re: Custom load balancing algorithm and mod_jk??? 09.02.2005 18:51 Please respond to "Tomcat Developers List" dhay@lexmark.com wrote: > Hi Mladen, > > That sounds feasible...but I have no idea how to do that!! > > Would you mind pointing me in the right direction? > > - how do we create custom headers? Where? Inside Tomcat. Not sure where, but some sort of filter should help. Take a look at filter documentation if you don't wish to hack the Tomcat code itself. The filter will need to gather CPU usage and add some header to outgoing headers. > - how do we get access to the ajp demarshaling? > Inside mod_jk. jk_ajp_common.c -> ajp_unmarshal_response See how headers are parsed. Then you will need to pass that back to lb_worker. > Sorry for the ignorance! I haven't done any extending of tomcat before... > Then I wish you all the luck :). Regards, Mladen --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org