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 Anhänge
37657 Angesehen
Durchschnitt (0 Stimmen)
Die durchschnittliche Bewertung ist 0.0 von max. 5 Sternen.
Kommentare
Antworten im Thread Autor Datum
Hi, I am looking for the wiki page, ... Nirav Bharat Naik 17. Februar 2009 22:44
Liferay offers Terracotta clustering support as... Edan Idzerda 4. März 2009 08:12
Have you now got past "just for session... Sebastien Diot 13. September 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. Juli 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.
Gepostet am 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
Gepostet am 04.03.09 08:12 als Antwort auf 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) ?
Gepostet am 13.09.09 02:57 als Antwort auf 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
Gepostet am 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.
Gepostet am 27.05.10 14:26 als Antwort auf Edan Idzerda.
I didn't see ecache entries too. Do you find anything. And liferay 6 there is not /ehcache/hibernate-terracotta.xml.
Gepostet am 08.07.10 07:13 als Antwort auf Harshal Shah.