tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Chugunov" <nikolay.chugu...@googlemail.com>
Subject Re: How to get request count of Tomcat server?
Date Fri, 01 Dec 2006 12:50:57 GMT
Zihui,

To get request count of Tomcat server
You can use requestCount attribute of
Catalina:type=GlobalRequestProcessor,name=jk-8080 mbean.

Nikolay

Zihui Ren wrote:
>I didn't want to patch any additional stuff to server or change the OOTB
>configuration, but it seems I have to....

>On 4/28/06, Yoav Shapira <yoavs@apache.org> wrote:
>>
>> Hola,
>> Actually, it was.  Just suggesting some alternatives IF there's not
>> currently available implementation and IF the user really wants one,
>> but doesn't want to write a lot of code.  Not knowing his
>> requirements...
>>
>> Yoav
>>
>> On 4/28/06, Leon Rosenberg <rosenberg.leon@googlemail.com> wrote:
>>> On 4/28/06, Yoav Shapira <yoavs@apache.org> wrote:
>>>> If there isn't, it'd be pretty easy to write.  Not sure I'd do it as =
a
>>>> JMX bean versus a simple servlet filter that logs a counter for each
>>>> request, or even simpler, just enable the AccessLogValve and use 'wc
>>>> -l [logfile]', ...
>>>
>>> This wasn't serious, was it?
>>>
>>
>>> Leon

>> Yoav Shapira
>> Nimalex LLC
>> 1 Mifflin Place, Suite 310
>> Cambridge, MA, USA
>> yoavs@computer.org / www.yoavshapira.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message