Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 69648 invoked from network); 25 Sep 2007 06:26:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Sep 2007 06:26:13 -0000 Received: (qmail 14871 invoked by uid 500); 25 Sep 2007 06:26:00 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 14807 invoked by uid 500); 25 Sep 2007 06:26:00 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 14796 invoked by uid 99); 25 Sep 2007 06:26:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2007 23:26:00 -0700 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 (nike.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; Tue, 25 Sep 2007 06:28:13 +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 l8P6PbS6025603 for ; Tue, 25 Sep 2007 08:25:39 +0200 (CEST) Message-ID: <46F8A9E1.4060708@kippdata.de> Date: Tue, 25 Sep 2007 08:25:37 +0200 From: Rainer Jung User-Agent: Thunderbird 2.0.0.6 (X11/20070802) MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: 6.0.x request processing patch References: <200709241941.l8OJf1Lr002457@maui.wilshire.com> <46F81E8D.1080309@hanik.com> In-Reply-To: <46F81E8D.1080309@hanik.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Filip, I guess that also fixes the misleading html manager display (request times going up and up). That would be very nice. Just a quick shot: - maybe you can fix Procssing -> Processing everywhere - will this change the behaviour of the requestProcessingTime as one can retrieve from the MBeans of the GlobalRequestProcessor or Servlets? I guess (and hope) no? - lastRequestProcssingTime: This item is new but apart from the new setter and getter not used, especially not in the getRequestProcessingTime fix. If this data is needed, shouldn't we also expose it via the mbean descriptor? It's nice for a statistic sampling of response times. Regards, Rainer Filip Hanik - Dev Lists wrote: > here is the modified patch > > Filip > > Bill Barker wrote: >> I would think that using the stage would be more reliable than hacking >> the >> startTime, but otherwise, I have no strong opinion either way. >> >>> -----Original Message----- >>> From: Filip Hanik - Dev Lists [mailto:devlists@hanik.com] Sent: >>> Monday, September 24, 2007 11:49 AM >>> To: Tomcat Developers List >>> Subject: 6.0.x request processing patch >>> >>> Currently, the RequestInfo.getRequestProcessingTime is not taking >>> into account if the request is active or not, hence returning a >>> larger and larger value if a new request is not received. >>> The patch addresses the following >>> >>> 1. getRequestProcessingTime returns 0 if no request is active >>> 2. getLastRequestProcessingTime will return the time for the last >>> request >>> >>> Does anyone think the values that are returned should be different? >>> thoughts? >>> Filip --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org