Fórum

Multicast Issue in Clustering

thumbnail
Tonu Sri, modificado 12 Anos atrás.

Multicast Issue in Clustering

Regular Member Postagens: 197 Data de Entrada: 15/04/11 Postagens Recentes
Hi Everyone,

I am using two nodes in Liferay cluster(SP2) with same DB. I have done all configuration as per documents.
When i am starting both nodes, 5-6 minutes everything is working fine. Changes of one node are reflecting immediately in second node. But after 5-6 minutes Ehcache clustering is not working fine, changes are not reflecting and i am getting error:

"rmiUrl is stale. Either the remote peer is shutdown or the network connectivity has been interrupted. Will be removed from list of remote cache peers"

That means communication between nodes is breaking after 5 minutes. Multicasting is breaking in between.
I have tried with Tomcat and Jboss both.
My network admin also not able to solve this issue.

Please help me to solve this problem.

Thanks in advance.
thumbnail
Juan Gonzalez P, modificado 12 Anos atrás.

RE: Multicast Issue in Clustering

Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
Did you modify EhCache config somehow?
thumbnail
Hitoshi Ozawa, modificado 12 Anos atrás.

RE: Multicast Issue in Clustering

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Seems the multicast connection is being terminated. Can't say anything as to the reason.

Have you tried replacing ehcache with Terracotta?

http://www.liferay.com/web/mika.koivisto/blog/-/blogs/how-do-i-cluster-liferay-with-terracotta-
thumbnail
Tonu Sri, modificado 12 Anos atrás.

RE: Multicast Issue in Clustering

Regular Member Postagens: 197 Data de Entrada: 15/04/11 Postagens Recentes
Hi Hitoshi,

Thanks for your suggestion:

I tried to integrate Liferay with Terrcotta but i am getting this exception:

org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: Another CacheManager with same name 'hibernate-terracotta' already exists in the same VM. Pleas
e provide unique names for each CacheManager in the config or do one of following:
1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary
2. Shutdown the earlier cacheManager before creating new one with same name.

Please help me to resolve this issue.

Thanks:
Ankit
thumbnail
Hitoshi Ozawa, modificado 12 Anos atrás.

RE: Multicast Issue in Clustering

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Sorry, it's difficult to resolve networking problem off site. Better to get somebody who knows about network to resolve your issues.
Krzysztof Makowski, modificado 11 Anos atrás.

RE: Multicast Issue in Clustering

New Member Postagens: 2 Data de Entrada: 17/04/12 Postagens Recentes
Hi Tonu,

Did you manage to solve this problem with ehcache rmi replication?