Using Terracota with Liferay

What is Terracota? #

See http://www.terracotta.org/confluence/display/orgsite/What+Is+Terracotta

Terracota and Liferay #

Using Terracota for Liferay installations allows setting up large clustering environments, with good performance.

Instructions #

You can find up to date detailed instructions in:

  • http://www.terracotta.org/confluence/display/wiki/Liferay
  • http://svn.terracotta.org/svn/forge/projects/labs/liferay/trunk/README.txt

Related Articles #

Clustering

High Availability Guide

0 Attachments
32805 Views
Average (0 Votes)
The average rating is 0.0 stars out of 5.
Comments
Threaded Replies Author Date
Hi, I am looking for the wiki page, ... Nirav Bharat Naik February 17, 2009 10:44 PM
Liferay offers Terracotta clustering support as... Edan Idzerda March 4, 2009 8:12 AM
Have you now got past "just for session... Sebastien Diot September 13, 2009 2:57 AM
did you get hold of complete solution to... Harshal Shah May 27, 2010 2:26 PM
I didn't see ecache entries too. Do you find... Murat ÇOLAK July 8, 2010 7:13 AM
Hi Nikki, the terracotta wiki page is deleted.... Harshal Shah May 27, 2010 1:55 PM

Hi,

I am looking for the wiki page,

http://www.terracotta.org/confluence/display/wiki/Liferay

Actuallly I am using Liferay 5.2 SE and trying to build cluster.

Could anybody please help me?

Regards,
Nirav.
Posted on 2/17/09 10:44 PM.
Liferay offers Terracotta clustering support as part of their Professional Edition, so some old resources for configuring Terracotta and Liferay have "disappeared"

I have it working, just for session clustering though: http://www.liferay.com/web/guest/community/forums/-/message_boards/message/23065­09
Posted on 3/4/09 8:12 AM in reply to Nirav Bharat Naik.
Have you now got past "just for session clustering"? If you have "complete solution", could you post it please (here or somewhere else public like on the Terracotta website) ?
Posted on 9/13/09 2:57 AM in reply to Edan Idzerda.
Hi Nikki,

the terracotta wiki page is deleted. In liferay 5.2.3 there was a property in portal.properties. But that too is missing in liferay 6.0.

I am able to integrate liferay with terracotta by following the steps below
1. placing the terracotta-session-1.0.1.jar in folder C:\Liferay-Portal\Tomcat\lib
2. adding <Valve className="org.terracotta.session.TerracottaTomcat60xSessionValve" tcConfigUrl="localhost:9510"/> to C:\Liferay-Portal\Tomcat\conf\context.xml
3. Uncommenting the terracotta property in portal.properties file.
hibernate.cache.provider_class=com.liferay.portal.dao.orm.hibernate.Terraco­ttaCacheProvider
and
net.sf.ehcache.configurationResourceName=/ehcache/hibernate-terracotta.xml
Add these properties to portlet-ext.properties
This is only for liferay 5.2.3
If you need more information send mail to harshal82@gmail.com
Posted on 5/27/10 1:55 PM.
did you get hold of complete solution to integrate life ray and terracotta. I want to monitor ecache entries in terracotta i.e hits and misses. please let me know if you have found the solution.
Posted on 5/27/10 2:26 PM in reply to Edan Idzerda.
I didn't see ecache entries too. Do you find anything. And liferay 6 there is not /ehcache/hibernate-terracotta.xml.
Posted on 7/8/10 7:13 AM in reply to Harshal Shah.