Monday 12 August 2013

.Terracotta

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 

No comments:

Post a Comment