Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Tonu Sri
Multicast Issue in Clustering
March 13, 2012 9:14 PM
Answer

Tonu Sri

Rank: Regular Member

Posts: 195

Join Date: April 15, 2011

Recent Posts

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.
Juan Gonzalez
RE: Multicast Issue in Clustering
March 23, 2012 12:42 PM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1872

Join Date: October 28, 2008

Recent Posts

Did you modify EhCache config somehow?
Hitoshi Ozawa
RE: Multicast Issue in Clustering
March 24, 2012 5:05 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

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-
Tonu Sri
RE: Multicast Issue in Clustering
April 19, 2012 12:12 AM
Answer

Tonu Sri

Rank: Regular Member

Posts: 195

Join Date: April 15, 2011

Recent Posts

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
Hitoshi Ozawa
RE: Multicast Issue in Clustering
April 22, 2012 6:37 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

Sorry, it's difficult to resolve networking problem off site. Better to get somebody who knows about network to resolve your issues.
Krzysztof Makowski
RE: Multicast Issue in Clustering
November 30, 2012 11:23 PM
Answer

Krzysztof Makowski

Rank: New Member

Posts: 2

Join Date: April 17, 2012

Recent Posts

Hi Tonu,

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