Yes, this is the current issue I see. My main question at this point is
why should we have the separate
MBeanServer.registerMBean/unregisterMBean +
ServiceControler.lifecycle/remove. It clearly leads to duplicate state
management. Why not say the only way to manage an mbean service is
through the ServiceController drop all of the
MBeanServer.registerMBean/unregisterMBean usage?
Jason T. Greene wrote:
Not sure if this is related, but take a look at [1]. The original
ServiceController unregisters on remove.
[1]
http://lists.jboss.org/pipermail/jboss-development/2006-August/000776.ht
ml
-Jason