You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by anita kulshreshtha <a_...@yahoo.com> on 2005/09/23 15:04:28 UTC

Tomcat Statistics

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

Re: Tomcat Statistics

Posted by anita kulshreshtha <a_...@yahoo.com>.
--- Joe BohnBohne.joenbohntearthlink> 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
MBeaMBeanServer
> Were you looking to use the Tomcat manager to view
> statistics until we 
> could include the functionality in the Geronimo
> console? 
        Tomcat does not have the statistics defined by
the JettJettyConatinerdily available. We need to
collect them in a manner similar to the manager
application. InitInitiallycould just capture the ones
we are already displaying and then...

Thanks
Anita
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
> portportletdisplay 
> 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
> 
> anitanitaskulshreshthate:
> 
> > It is the StatStatusManagerServlet
>
>httphttpvs.cvscapache/viewviewcvs/cgiajakartacat-catacatalinaawebappsager/WEB-INF/classes/org/apacapacheacatalinaager/StatStatusManagerServleta?rev=1.16&view=log
> >
> >Thanks
> >Anita
> >--- Aaron Mulder <ammuammuldermni.prinprinceton>edu
>wrote:
> >
> >  
> >
> >>Do you have a pointer to the code for
> TomcTomcatManager>>that collects
> >>these statistics?  We should be able to do
> something
> >>similar to what
> >>they're doing.
> >>
> >>Thanks,
> >>    Aaron
> >>
> >>On 9/23/05,
anitanitaskulshreshtha<a_kulskulshreoo.com>
> >>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, VhosVhost 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 servservlete
> >>>      
> >>>
> >>there
> >>    
> >>
> >>>any plans to add these?
> >>>    Tomcat manager application uses JMX JMX
> collect
> >>>these statistics (1).
> >>>They are not provided by Tomcat (AFAIK).  Can
> >>>      
> >>>
> >>Tomcat
> >>    
> >>
> >>>manager use Geronimo's MbeaMbeanserverat is
> >>>      
> >>>
> >>involved
> >>    
> >>
> >>>here?  The easiest thing would be to make it work
> >>>      
> >>>
> >>and
> >>    
> >>
> >>>improve/rewrite it (post M5?) to extend
> >>>      
> >>>
> >>WebCWebContainer >>    
> >>
> >>>    Is this the correct way to proceed?
> >>>
> >>>Thanks
> >>>Anita
> >>>
> >>>
> >>>
> >>>__________________________________
> >>>Yahoo! Mail - PC Magazine Editors' Choice 2005
> >>>httphttpail.yahoo.com
> >>>
> >>>      
> >>>
> >
> >
> >
> >		
> >__________________________________ 
> >Yahoo! Mail - PC Magazine Editors' Choice 2005 
> >httphttpail.yahoo.com
> >
> >
> >  
> >
> 
> -- 
> Joe BohnBohn 
> joe.joenbohntearthlink
> 
> "He is no fool who gives what he cannot keep, to
> gain what he cannot lose."   -- Jim Elliot
> 
> 


		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

Re: Tomcat Statistics

Posted by anita kulshreshtha <a_...@yahoo.com>.
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 <jo...@earthlink.net> 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 <am...@alumni.princeton.edu>
> >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
> <a_...@yahoo.com>
> >>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     
> joe.bohn@earthlink.net
> 
> "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 

Re: Tomcat Statistics

Posted by Joe Bohn <jo...@earthlink.net>.
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 <am...@alumni.princeton.edu>
>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 <a_...@yahoo.com>
>>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     
joe.bohn@earthlink.net

"He is no fool who gives what he cannot keep, to gain what he cannot lose."   -- Jim Elliot


Re: Tomcat Statistics

Posted by anita kulshreshtha <a_...@yahoo.com>.
 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 <am...@alumni.princeton.edu>
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 <a_...@yahoo.com>
> 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

Re: Tomcat Statistics

Posted by Aaron Mulder <am...@alumni.princeton.edu>.
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 <a_...@yahoo.com> 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
>