Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
cellar-3.0.0
-
None
-
Ubuntu 12.04
java version "1.7.0_05"
Description
After sending an event to a cluster of nodes using Karaf Cellar I've found this sentence in log.
CELLAR FEATURES: retrieved event ClusterRepositoryEvent ... while groupManager is not available yet!
Looking for what is causing this issue I realized that groupManager is not being injected for RepositoryEventHandler in blueprint.xml of features module.
Injecting that property solves the issue.
<bean id="repositoryEventHandler" class="org.apache.karaf.cellar.features.RepositoryEventHandler" init-method="init" destroy-method="destroy"> <property name="featuresService" ref="featuresService" /> <property name="groupManager" ref="groupManager" /> <property name="clusterManager" ref="clusterManager" /> <property name="configurationAdmin" ref="configurationAdmin" /> </bean>