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 附件
37683 查看
平均 (0 票)
满分为 5,平均得分为 0.0。
评论
讨论主题回复 作者 日期
Hi, I am looking for the wiki page, ... Nirav Bharat Naik 2009年2月17日 下午10:44
Liferay offers Terracotta clustering support as... Edan Idzerda 2009年3月4日 上午8:12
Have you now got past "just for session... Sebastien Diot 2009年9月13日 上午2:57
did you get hold of complete solution to... Harshal Shah 2010年5月27日 下午2:26
I didn't see ecache entries too. Do you find... Murat ÇOLAK 2010年7月8日 上午7:13
Hi Nikki, the terracotta wiki page is deleted.... Harshal Shah 2010年5月27日 下午1: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.
在 09-2-17 下午10: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
在 09-3-4 上午8:12 发帖以回复 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) ?
在 09-9-13 上午2:57 发帖以回复 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
在 10-5-27 下午1: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.
在 10-5-27 下午2:26 发帖以回复 Edan Idzerda