You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Nikolay Chugunov <ni...@googlemail.com> on 2006/12/01 13:50:57 UTC

Re: How to get request count of Tomcat server?

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 <yo...@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 <ro...@googlemail.com> wrote:
>>> On 4/28/06, Yoav Shapira <yo...@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