How to configure CXF web services so that Glassfish can monitor them?

There are some docs at: cxf.apache.org/docs/jmx-management.html about how to enable the JMX instrumentation in CXF. There are a couple things missing there however. With 2.2.3 and newer, there are some new properties on the InstrumentationManagerImpl bean that can tell it to NOT create a new MBean server and connection and stuff an hopefully use the platform supplied one.

True will just call: mbs = ManagementFactory. GetPlatformMBeanServer(); which will hopefully get the default GlassFish MBS. False would not create a new connector.

Also, if you can get a handle on the GlassFish MBS from the spring context, (spring probably has ways to do it), you can set the "server" property to the actual MBeanServer.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions