Hi folks.
I know how to make custom MBeans (registered inside jboss-service.xml) that can be managed through JMX, but how can I make my web app components inside .war file managable ?
Or do I have to redesign my web app in such way that these components would be MBeans and somehow call them from servlet which resides in .war ? If so, how can I get MBeanServer reference inside servlet ...
Regards,
Vjeran Marcinko
I guess it depends what your servlet container exposes to the MBean server by default.
There's a couple of ways to locate the MBean server reference, one is org.jboss.util.MBeanServerLocator.
-- Juha