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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> wrote:
On 4/28/06, Yoav Shapira <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED] / www.yoavshapira.com

Reply via email to