[
https://issues.apache.org/jira/browse/KARAF-2955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré reassigned KARAF-2955:
-------------------------------------------
Assignee: Jean-Baptiste Onofré
> RepositoryEventHandler not handling events
> ------------------------------------------
>
> Key: KARAF-2955
> URL: https://issues.apache.org/jira/browse/KARAF-2955
> Project: Karaf
> Issue Type: Bug
> Components: cellar-features
> Affects Versions: 3.0.0
> Environment: Ubuntu 12.04
> java version "1.7.0_05"
> Reporter: Pablo Muñiz
> Assignee: Jean-Baptiste Onofré
>
> 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.
> {code}
> <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>
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)