Databases Reference
In-Depth Information
5.
Locate the $TERRACOTTA_HOME\common directory and copy the following JAR
file to the node-01\liferay-portal-6.1.1-ce-ga2\ tomcat-7.0.27\
webapps\ROOT\WEB-INF\lib directory:
terracotta- toolkit *.jar
6.
Create the terracotta-cache directory in the node-01\liferay-portal-
6.1.1-ce-ga2\ tomcat-7.0.27\webapps\ROOT\WEB-INF\classes\
directory and create the hibernate-terracotta.xml file with
following content:
<ehcache
dynamicConfig="false"
name="hibernate-terracotta"
updateCheck="false"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="ehcache.xsd"
>
<defaultCache
eternal="false"
maxElementsInMemory="100000"
overflowToDisk="false"
timeToIdleSeconds="600"
>
<terracotta />
</defaultCache>
<cache
eternal="false"
maxElementsInMemory="100000"
name="com.liferay.portal.model.impl.UserImpl"
overflowToDisk="false"
timeToIdleSeconds="600"
>
<terracotta />
</cache>
<terracottaConfig url="<IP/host name of Terracotta
Server>:<terracotta server port>" />
</ehcache>
Change the host name and port in the terracottaConfig
tag accordingly.
 
Search WWH ::




Custom Search