Aaron,
Thanks, for providing valuable feedback. I do not
search for anything. The console (or any other tool)
will ask for stats for a specific component. When I
wrote this, I got carried away... I was thinking about
a no-frill tool like JMXProxyServlet see
http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html#Using%20the%20JMX%20Proxy%20Servlet
for Geronimo gurus. I am not sure about its
usefulness. I see there is a new JMX debug console
already in the works.
Thnaks
Anita
--- Aaron Mulder <[EMAIL PROTECTED]>
wrote:
> 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 <[EMAIL PROTECTED]>
> 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)"
> > <[email protected]> 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
> >
> >
>
__________________________________________
Yahoo! DSL Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com