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

Moyenne (0 Voter)
L'estimation moyenne est de 0.0 étoiles sur 5.
Commentaires
Réponses Auteur Données
Hi, I am looking for the wiki page, ... Nirav Bharat Naik 17 février 2009 22:44
Liferay offers Terracotta clustering support as... Edan Idzerda 4 mars 2009 08:12
Have you now got past "just for session... Sebastien Diot 13 septembre 2009 02:57
did you get hold of complete solution to... Harshal Shah 27 mai 2010 14:26
I didn't see ecache entries too. Do you find... Murat ÇOLAK 8 juillet 2010 07:13
Hi Nikki, the terracotta wiki page is deleted.... Harshal Shah 27 mai 2010 13:55

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.
Publié le 17/02/09 22:44.
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
Publié le 04/03/09 08:12 en réponse à 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) ?
Publié le 13/09/09 02:57 en réponse à 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
Publié le 27/05/10 13:55.
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.
Publié le 27/05/10 14:26 en réponse à Edan Idzerda.
I didn't see ecache entries too. Do you find anything. And liferay 6 there is not /ehcache/hibernate-terracotta.xml.
Publié le 08/07/10 07:13 en réponse à Harshal Shah.