BTW: I am using JBoss 2.4.4
Don't create a new MBeanServer,
find the existing one using the MBeanServerFactory.
Alternatively, put your MBean config in jboss.jcml
We want t place our mbeans in our app specific domain name. Does it not make sense to do so?
We figure if you are managing multiple apps, each app would have its own domain name for its mbeans.
Also, we would prefer, we think, to not display the JBoss mbeans. The reason would be to provide the people using the tools with a very simple interface.
There is nothing to stop you registering in
your own domain.
You can subset the html adaptor using the pattern
If that isn't what you want, you'll have to register
a new html adaptor using a different port with
your private MBeanServer.