yes, using JMX is the correct way to go. Tomcat 5 will include stats through
JMX

Filip

> -----Original Message-----
> From: Balaji [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 03, 2003 9:05 PM
> To: Tomcat Users List
> Subject: RE: Using the ServerFactory
>
>
> No.  It is for an intranet purpose and I do not foresee it in the
> immediate
> plans. Given this, is there an solution to the said problem?
>
> Thanks
> Bala
>
>
> At 09:01 AM 4/3/2003 -0500, you wrote:
>
> >Howdy,
> >Do you have any interest at all in your webapp being portable to other
> >containers?
> >
> >Yoav Shapira
> >Millennium ChemInformatics
> >
> >
> > >-----Original Message-----
> > >From: Balaji [mailto:[EMAIL PROTECTED]
> > >Sent: Thursday, April 03, 2003 1:51 AM
> > >To: Tomcat Users List
> > >Subject: RE: Using the ServerFactory
> > >
> > >Hi,
> > >
> > >I have a webapp and as a small part of my Application, I try to list
> >the
> > >Tomcat server statistics. I figured that if I can get a reference to
> >the
> > >Server Object through ServerFactory, I get the server Info. But this
> > >returns me a null object for the Server.
> > >
> > >The only other way I figure out is that I need to look up the
> > >StandardServerMBean from the MBeanServer registry and get the
> >information.
> > >Is that right?
> > >
> > >Kind Regards
> > >Bala
> > >
> > >At 09:24 AM 4/2/2003 -0500, you wrote:
> > >
> > >>Howdy,
> > >>What are you trying to do?
> > >>
> > >>Yoav Shapira
> > >>Millennium ChemInformatics
> > >>
> > >>
> > >> >-----Original Message-----
> > >> >From: Balaji [mailto:[EMAIL PROTECTED]
> > >> >Sent: Wednesday, April 02, 2003 7:21 AM
> > >> >To: Tomcat Users List
> > >> >Subject: Using the ServerFactory
> > >> >
> > >> >Hi ,
> > >> >
> > >> >The following code returns me a null object for ServerFactory. I
> >assume
> > >> >that accessing ServerFactory would help me get all the details of
> >the
> > >> >Tomcat Server. Is my assumption right??
> > >> >
> > >> >
> > >> >       server = ServerFactory.getServer();
> > >> >       if(server == null)
> > >> >               System.out.println("Server is  null");
> > >> >
> > >> >Any help would be appreciated.
> > >> >
> > >> >Thanks
> > >> >Bala
> > >> >
> > >> >
> > >>
> > >---------------------------------------------------------------------
> > >> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >> >For additional commands, e-mail: [EMAIL PROTECTED]
> > >>
> > >>
> > >>
> > >>
> > >>This e-mail, including any attachments, is a confidential business
> > >>communication, and may contain information that is confidential,
> > >>proprietary and/or privileged.  This e-mail is intended only for the
> > >>individual(s) to whom it is addressed, and may not be saved, copied,
> > >>printed, disclosed or used by anyone else.  If you are not the(an)
> > >>intended recipient, please immediately delete this e-mail from your
> > >>computer system and notify the sender.  Thank you.
> > >>
> > >>
> > >>---------------------------------------------------------------------
> > >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >>For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> >This e-mail, including any attachments, is a confidential business
> >communication, and may contain information that is confidential,
> >proprietary and/or privileged.  This e-mail is intended only for the
> >individual(s) to whom it is addressed, and may not be saved, copied,
> >printed, disclosed or used by anyone else.  If you are not the(an)
> >intended recipient, please immediately delete this e-mail from your
> >computer system and notify the sender.  Thank you.
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to