You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2014/06/16 16:04:01 UTC
[jira] [Updated] (KARAF-2955) RepositoryEventHandler not handling
events
[ https://issues.apache.org/jira/browse/KARAF-2955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré updated KARAF-2955:
----------------------------------------
Affects Version/s: (was: 3.0.0)
cellar-3.0.0
> 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: cellar-3.0.0
> Environment: Ubuntu 12.04
> java version "1.7.0_05"
> Reporter: Pablo Muñiz
> Assignee: Jean-Baptiste Onofré
> Fix For: cellar-3.0.0
>
>
> 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)