geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Mulder <ammul...@alumni.princeton.edu>
Subject Re: [jira] Updated: (GERONIMO-1293) Provide tomcat statistics
Date Sat, 07 Jan 2006 15:30:36 GMT
You shouldn't be doing anything by ObjectName.  Instead, as you said,
you should get the WebContainer and get the connectors from there.  If
you want to search the whole world for statistics providers, start
with the domain object and just march the tree looking for
J2EEManagedObjects that return true for isStatisticsProvider.

Thanks,
    Aaron

On 1/7/06, anita kulshreshtha <a_kulshre@yahoo.com> wrote:
> Jeff,
>     I would like to be able to search for all Tomcat
> Connectors using listGBeans(...). Do we need to have a
> j2eeType for this? I could always look for the
> WebContainer and then get all the connectors
> (objectNames) from there. Eventually an MEJB would
> like to discover all the statistics providers to
> capture the performance and monitoring data. Any
> thoughts?
>
>
> Thanks
> Anita
>
> J2EEApplication=null,J2EEModule=geronimo/tomcat/1.0-SNAPSHOT/car,J2EEServer=geronimo,
> j2eeType=GBean,name=TomcatWebConnector
>
> --- "anita kulshreshtha (JIRA)"
> <dev@geronimo.apache.org> wrote:
>
> >      [
> >
> http://issues.apache.org/jira/browse/GERONIMO-1293?page=all
> > ]
> >
> > anita kulshreshtha updated GERONIMO-1293:
> > -----------------------------------------
> >
> >     Attachment: properties.patch
> >                 geronimo-stats-1.0-SNAPSHOT.war
> >
> >  Please use tomcat 5.5.9 to view the stats.
> > Properties.patch for using tomcat 5.5.9.  Deploy the
> > war and point to
> > http://localhost:8080/stats
> >
> > > Provide tomcat statistics
> > > -------------------------
> > >
> > >          Key: GERONIMO-1293
> > >          URL:
> > http://issues.apache.org/jira/browse/GERONIMO-1293
> > >      Project: Geronimo
> > >         Type: New Feature
> > >   Components: Tomcat
> > >     Versions: 1.0-M5
> > >  Environment: All environments
> > >     Reporter: anita kulshreshtha
> > >     Priority: Minor
> > >      Fix For: 1.1
> > >  Attachments: TomcatWebAppContext.patch,
> > geronimo-stats-1.0-SNAPSHOT.war,
> > geronimo-stats-1.0-SNAPSHOT.war,
> > geronimo-stats-1.0-SNAPSHOT.war, management.patch,
> > project.patch, properties.patch, stats.zip,
> > stats.zip, statsApp.zip, tomcat.patch
> > >
> > > Provide following statistics for tomcat :
> > >      1. Per Host/Container -
> > >              a. Initially provide the following
> > per connector statistics for each connector -
> > >                                 Cummulative
> > statistics about all request handled by this
> > connector since the stat were turned on.
> > >              b. If time (before 1.0 release)
> > permits, use 'a'  to generate (rename/compute)
> > statistics similar to the ones provided by Jetty
> > >      2. Per application  -
> > >              a.. processingTime : The cumulative
> > processing times of all servlets in this
> > StandardContext
> > >              b.  startTime - The time this context
> > was started.
> > >             c.  startupTime - The time (in
> > milliseconds) it took to start this context.
> > >             d..  tldScanTime() -
> > >             Later add session statistics and jsp
> > statistics.
> > >       3.  Per Servlet - Explore using statistics
> > from RequestInfo to provide statistics for a
> > servlet.
> > >
> >
> > --
> > This message is automatically generated by JIRA.
> > -
> > If you think it was sent incorrectly contact one of
> > the administrators:
> >
> >
> http://issues.apache.org/jira/secure/Administrators.jspa
> > -
> > For more information on JIRA, see:
> >    http://www.atlassian.com/software/jira
> >
> >
>
>
>
>
> __________________________________________
> Yahoo! DSL – Something to write home about.
> Just $16.99/mo. or less.
> dsl.yahoo.com
>
>
Mime
View raw message