Details
-
Bug
-
Resolution: Done
-
Major
-
EAP_EWP 5.1.0
-
None
-
-
Release Notes
-
Workaround Exists
-
-
-
Documented as Resolved Issue
-
NEW
Description
When using HASingletonController as an MBean, it errors out during deployment if the ClusterPartition MBean is not already fully deployed.
This is due to changes in org.jboss.ha.jmx.AbstractHAServiceMBeanSupport#setClusterPartition
to make it work as a POJO.
> ------------------------------------------------------------------------
> r76670 | pferraro | 2008-08-05 11:17:01 -0500 (Tue, 05 Aug 2008) | 2 lines
>
> Refactored HASingletonSupport into pojo + mbean wrapper.
> Simplified responsibility of HASingletonElectionPolicy.
> ------------------------------------------------------------------------
setClusterPartition now calls "clusterPartition.getHAPartition()", which is incorrect because
the dependencies have not been checked yet and ClusterPartition may not exist yet.
This call should be moved back to startService, at which point the dependencies have been checked.