Oops! Please disregard the earlier mail.
Tomcat does not have the statistics defined by
the JettyContainer interface, readily available. We
need to collect them in a manner similar to the
manager
application. Initially we could just capture the ones
we are already displaying and then...
Thanks
Anita
--- Joe Bohn <[EMAIL PROTECTED]> wrote:
> Thanks for the pointer Anita.
>
> Could you also please clarify what you were looking
> for in the question
> about Tomcat manager using Geronimo's MBeanServer?
> Were you looking to use the Tomcat manager to view
> statistics until we
> could include the functionality in the Geronimo
> console? That might be
> possible but that's not something that we're
> currently working on.
> We'd like to get the Geronimo web console statistics
> portlet to display
> an equivalent set of statistics for both Tomcat and
> Jetty if possible
> ... but not for M5. After that we should probably
> explore if there are
> container specific statistics that users would
> expect to see and then
> integrate those into the console for the appropriate
> container.
>
> Joe
>
> anita kulshreshtha wrote:
>
> > It is the StatusManagerServlet at
>
>http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/StatusManagerServlet.java?rev=1.16&view=log
> >
> >Thanks
> >Anita
> >--- Aaron Mulder <[EMAIL PROTECTED]>
> >wrote:
> >
> >
> >
> >>Do you have a pointer to the code for
> TomcatManager
> >>that collects
> >>these statistics? We should be able to do
> something
> >>similar to what
> >>they're doing.
> >>
> >>Thanks,
> >> Aaron
> >>
> >>On 9/23/05, anita kulshreshtha
> <[EMAIL PROTECTED]>
> >>wrote:
> >>
> >>
> >>>Aaron, Joe
> >>> There has been discussion about collecting
> >>>
> >>>
> >>Tomcat
> >>
> >>
> >>>statistics. The following statistics are
> available
> >>>
> >>>
> >>for
> >>
> >>
> >>>Tomcat:
> >>> FOR EACH CONNECTOR :
> >>> 1. Max processing time, processing time, Request
> >>>count, Error count, bytes received and bytes
> sent.
> >>>These are similar to what we have for Jetty.
> >>>
> >>>
> >>Though I
> >>
> >>
> >>>do not see total bytes sent/received for Jetty.
> >>> 2.For each request stage, Time, bytes sent,
> bytes
> >>>received, client, Vhost and request (URL,
> >>>
> >>>
> >>protocol)
> >>
> >>
> >>>are available. I do not see similar statistics
> for
> >>>Jetty. I would like to add these to our console.
> >>> Currently we do not display session/request
> >>>statistics per application and per servlet. are
> >>>
> >>>
> >>there
> >>
> >>
> >>>any plans to add these?
> >>> Tomcat manager application uses JMX to
> collect
> >>>these statistics (1).
> >>>They are not provided by Tomcat (AFAIK). Can
> >>>
> >>>
> >>Tomcat
> >>
> >>
> >>>manager use Geronimo's Mbeanserver? What is
> >>>
> >>>
> >>involved
> >>
> >>
> >>>here? The easiest thing would be to make it work
> >>>
> >>>
> >>and
> >>
> >>
> >>>improve/rewrite it (post M5?) to extend
> >>>
> >>>
> >>WebContainer.
> >>
> >>
> >>> Is this the correct way to proceed?
> >>>
> >>>Thanks
> >>>Anita
> >>>
> >>>
> >>>
> >>>__________________________________
> >>>Yahoo! Mail - PC Magazine Editors' Choice 2005
> >>>http://mail.yahoo.com
> >>>
> >>>
> >>>
> >
> >
> >
> >
> >__________________________________
> >Yahoo! Mail - PC Magazine Editors' Choice 2005
> >http://mail.yahoo.com
> >
> >
> >
> >
>
> --
> Joe Bohn
> [EMAIL PROTECTED]
>
> "He is no fool who gives what he cannot keep, to
> gain what he cannot lose." -- Jim Elliot
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com