HA singleton service example from jdf (https://github.com/jboss-jdf/jboss-as-quickstart/blob/jdf-2.1.2.Final/cluster-ha-singleton/service/src/main/java/org/jboss/as/quickstarts/cluster/hasingleton/service/ejb/HATimerServiceActivator.java) shows that msc service can be activated at install time.
But I have encountered the problem on undeploy of my app. Service deactivation is not defined - and Singleton service survives undeploy.
Next deploy fails with "org.jboss.msc.service.DuplicateServiceException: Service my.ha.singleton.manager.service is already registered"
So my question is what would be the deactivation pattern?
(using as7 7.2 and tried also EAP 6.1)