-
Bug
-
Resolution: Done
-
Major
-
7.3.6.GA
-
False
-
False
-
-
-
-
-
-
+
-
Undefined
-
If jboss-service.xml adds two MBeans, A and B, with B declared to depend on A, the expectation is if those mbeans are instances of ServiceMBeanSupport then A.startService will be called before B.startService. But this doesn't always happen.
ServiceMBeanSupport is deferring the invocation of startService until postRegister is called. ParsedServiceDeploymentProcessor and MBeanServices coordinate to install services that invoke ServiceMBeanSupport.create and start, and they set up dependencies so those invocations are ordered properly based on the depends elements in jboss-service.xml. But create and start don't actual end up invoking createService or startService. That's deferred until postRegister, and those postRegister calls are not ordered.
A possible fix is to have MBeanServices also wire up dependencies for the MBeanRegistrationServices that end up triggering the call to postRegister.
- clones
-
JBEAP-21431 [GSS](7.4.z) WFLY-14655 - Invocations of ServiceMBeanSupport startService are not in dependency order
- Closed
- incorporates
-
WFLY-14655 Invocations of ServiceMBeanSupport startService are not in dependency order
- Closed