On Sat, 29 Jun 2002, Glen Daniels wrote: > > +1 > > We'd talked about JMX management from the beginning days of Axis, just > never really got it in. I'd love to see the server, the transport > listeners, and the individual services get exposed via JMX.... we > should talk about APIs and such for this (and how easy/hard it'll be, > and who wants to write the code (hint hint:))) after beta-3.
Well, basic JMX support for tomcat3.3 took about 15 minutes to implement. Nothing fancy - just have the Interceptors, Contexts and the CM exposed and all attributes with a decent type. All you need to expose a bean-like component is tomcat-utils.jar and 2-3 lines of code. If you have a hook that is called on each component creation - you don't even need to touch the code. Costin > > --Glen > > > -----Original Message----- > > From: Steve Loughran [mailto:[EMAIL PROTECTED]] > > Sent: Friday, June 28, 2002 1:53 PM > > To: [EMAIL PROTECTED] > > Subject: Re: Axis and JMX ? > > > > > > > > ----- Original Message ----- > > From: <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, June 28, 2002 9:55 AM > > Subject: Axis and JMX ? > > > > > > > > > > Is there any plan to add JMX support in Axis ? Both configuration > > > and to extract status information and statistics. > > > > it would be nice, would it not? > > > > The AxisServletBase class I have just added has a load > > counter that logs > > system load; that is the kind of thing that jmx should get at. > > > > > You may know that - but there are 2 'utils' that allow you to > > > transparently add JMX, without modifying a single line of code. > > > One is the modeler ( that use an xml file to describe the attributes > > > and classes ) and the other one is in tomcat utils, and uses > > > introspection to expose all public getters/setters with supported > > > types. > > > > Also there is the <jmxdoclet> stuff in XDoclet to generate the > > descriptors/interface classes from metadata tags in the > > files. That would > > seem a better approach to me. > > > > I am sure if you want to add MX4J support, nobody will stop > > you, as long as > > it doesnt impact the rest of development. > > > > > > >