Hi
I have several applications which use Hibernate Search and we have several problem using them in a clustered environment. I have configured infinispan to use as directory provider. In each application I configured a different hibernate search clusterName with a different infinispan configuration (the main difference is the location of the indexes)
For example in persistence.xml of application 1 I have
Code:
<property name="hibernate.search.services.jgroups.clusterName" value="HibernateSearchDocroom-Infinispan-cluster-PRD" />
and in application 2 I have
Code:
<property name="hibernate.search.services.jgroups.clusterName" value="HibernateSearchPerso-Infinispan-cluster-PRD" />
Starting the cluster works fine, but I see a lot of warning messages. Even when I have only one node up, I see lots of these messages in the log file.
Code:
08:13:38,122 WARN [org.jgroups.protocols.UDP] (OOB-2,HibernateSearchDocroom-Infinispan-cluster-PRD,jbosssrv02-11306) [JGRP00012] discarded message from different cluster HibernateSearchPerso-Infinispan-cluster-PRD (our cluster is HibernateSearchDocroom-Infinispan-cluster-PRD). Sender was 1adae883-a056-9515-53c7-e37b7c767398 (received 7 identical messages from 1adae883-a056-9515-53c7-e37b7c767398 in the last 65411 ms)
I suspect that all the configured hibernate search clusterNames get all the jgroups messages and have to discard them.
Is there a way to fix this because after several time the jboss 7.1 cluster won't work anymore. (The applications do not respond anymore) And I have to kill all the nodes except one to get the applications working again.
Is it possible that the messages from application1 are only seen by the hibernateSearch cluster of application1? I tried some parameters in a custom jgroups config (bind_port, mcast_port, ...) but without luck.
Does anybody have a similar configuration and can give me some hints ?
My configuration is jboss 7.1.1, Hibernate Search 4.4
Regards
Georges Goebel