Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Mayank Joshi
Liferay clustering on Amazon EC2
April 24, 2012 12:34 AM
Answer

Mayank Joshi

Rank: New Member

Posts: 5

Join Date: April 12, 2012

Recent Posts

Hi,

I've been trying to setup a Liferay cluster on Amazon EC2. I'm using Liferay 6.0 EE SP2 bundled with tomcat 6.0.32 on CentOS 5.6 (64 bit) instance. Before trying out Liferay setup I tried to setup a tomcat cluster using Unicast instead of Multicasting and it worked well.

However while trying clustering of Liferay I'm getting errors as found in attached catalina.out.

Attached is my server.xml and portal-ext.properties file as well. I'm not making use of any features like distributed ehcache, lucene index replication etc. as that would have resulted in additional complexity.

Can somebody please help me out with this.

Regards,

Mayank
Attachments: catalina.out (10.7k), portal-ext.properties (0.8k), server.xml (8.7k)
Jelmer Kuperus
RE: Liferay clustering on Amazon EC2
April 24, 2012 3:40 AM
Answer

Jelmer Kuperus

Rank: Liferay Legend

Posts: 1192

Join Date: March 10, 2010

Recent Posts

Like i told you on irc , it's probably http://issues.liferay.com/browse/LPS-23380
Mayank Joshi
RE: Liferay clustering on Amazon EC2
April 24, 2012 3:55 AM
Answer

Mayank Joshi

Rank: New Member

Posts: 5

Join Date: April 12, 2012

Recent Posts

Yeah. I've raised a support ticket with Liferay. They are asking me to tell 'em if I'm using ehcache-cluster-web. Wondering how is that related to my problem in any way emoticon
Mayank Joshi
RE: Liferay clustering on Amazon EC2
April 24, 2012 4:02 AM
Answer

Mayank Joshi

Rank: New Member

Posts: 5

Join Date: April 12, 2012

Recent Posts

I've one small question ... if this is the problem that I'm facing then apparently no one would've been able to do clustering with Liferay EE 6.0 SP2 bundled with tomcat 6.0.32 ... right ? Or is it that since I'm trying it over unicast hence I'm facing issues ?
Mayank Joshi
RE: Liferay clustering on Amazon EC2
May 1, 2012 7:48 AM
Answer

Mayank Joshi

Rank: New Member

Posts: 5

Join Date: April 12, 2012

Recent Posts

Finally I think I'm able to setup the cluster. Session replication is working as intended and Caches are also working just fine ... Loving it emoticon For those interested I've blogged about my setup at http://techynfreesouls.blogspot.in/2012/04/liferay-cluster-on-amazon-ec2.html. Hope it helps others too !

--MJ
Juan Gonzalez
RE: Liferay clustering on Amazon EC2
May 1, 2012 9:20 AM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1980

Join Date: October 28, 2008

Recent Posts

Mayank Joshi:
Finally I think I'm able to setup the cluster. Session replication is working as intended and Caches are also working just fine ... Loving it emoticon For those interested I've blogged about my setup at http://techynfreesouls.blogspot.in/2012/04/liferay-cluster-on-amazon-ec2.html. Hope it helps others too !

--MJ


Thanks for sharing!!

Is there a reason for upgrade ehcache and jgroups? Doesn't work with bundled ones?