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 08:04:01 UTC
[jira] [Commented] (KARAF-2892) Cluster event not dispatched due to
GroupManager is unavailable
[ https://issues.apache.org/jira/browse/KARAF-2892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14032131#comment-14032131 ]
Jean-Baptiste Onofré commented on KARAF-2892:
---------------------------------------------
Fixed on master: https://git-wip-us.apache.org/repos/asf?p=karaf-cellar.git;a=commitdiff;h=a8eb9e6f9f6972249e6fd53bc9d10079d86df622
> Cluster event not dispatched due to GroupManager is unavailable
> ---------------------------------------------------------------
>
> Key: KARAF-2892
> URL: https://issues.apache.org/jira/browse/KARAF-2892
> Project: Karaf
> Issue Type: Bug
> Components: cellar-core
> Affects Versions: cellar-3.0.0
> Reporter: Pablo Muñiz
> Assignee: Jean-Baptiste Onofré
> Fix For: cellar-3.0.0
>
>
> When trying to broadcast an event to all nodes in a group, the next message can be shown in log
> {quote}
> CELLAR EVENT: retrieved event org.apache.karaf.cellar.event.ClusterEvent@36983670 while groupManager is not available yet!
> {quote}
> Lookng for what is causing this failure I've realized that groupManager property is not been injected for bean with id *clusterEventHandler* in file *event/src/main/resources/OSGI-INF/blueprint/blueprint.xml*.
> Injecting that property will solve the issue.
> {quote}
> <!-- Cluster Event Handler -->
> <bean id="clusterEventHandler" class="org.apache.karaf.cellar.event.ClusterEventHandler" init-method="init" destroy-method="destroy">
> <property name="configurationAdmin" ref="configurationAdmin"/>
> <property name="clusterManager" ref="clusterManager"/>
> <property name="groupManager" ref="groupManager"/>
> <property name="eventAdmin" ref="eventAdmin"/>
> </bean>
> {quote}
--
This message was sent by Atlassian JIRA
(v6.2#6252)