<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Clear content cached across the cluster</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=12891791" />
  <subtitle>Clear content cached across the cluster</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=12891791</id>
  <updated>2026-04-04T08:45:09Z</updated>
  <dc:date>2026-04-04T08:45:09Z</dc:date>
  <entry>
    <title>RE: Clear content cached across the cluster</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112427420" />
    <author>
      <name>Vishnu S Kumar</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112427420</id>
    <updated>2019-02-21T19:31:10Z</updated>
    <published>2019-02-21T19:31:10Z</published>
    <summary type="html">&lt;blockquote&gt;Mathieu HicauberHi, &lt;br /&gt;&lt;br /&gt;Exactly the same problem here : journal article is not updated on my LR node #2 until I hit the &amp;#34;clear content cached accross the cluster&amp;#34; button. So &amp;#39;I&amp;#39;m really happy you found a solution &lt;img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" &gt;&lt;br /&gt;&lt;br /&gt;I&amp;#39;m using jgroups to handle nodes communication - is this kind of network communication compliant with your settings ?&lt;br /&gt;&lt;/blockquote&gt;I got this same issue in the non clustered environment as well. Our related assets in a web content on a page won&amp;#39;t get updated unless we do a clear cache or turn off caching in the templates.</summary>
    <dc:creator>Vishnu S Kumar</dc:creator>
    <dc:date>2019-02-21T19:31:10Z</dc:date>
  </entry>
  <entry>
    <title>RE: Clear content cached across the cluster</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13937881" />
    <author>
      <name>Mathieu Hicauber</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13937881</id>
    <updated>2012-05-15T07:41:17Z</updated>
    <published>2012-05-15T07:41:17Z</published>
    <summary type="html">Hi, &lt;br /&gt;&lt;br /&gt;Exactly the same problem here : journal article is not updated on my LR node #2 until I hit the &amp;#34;clear content cached accross the cluster&amp;#34; button. So &amp;#39;I&amp;#39;m really happy you found a solution &lt;img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" &gt;&lt;br /&gt;&lt;br /&gt;I&amp;#39;m using jgroups to handle nodes communication - is this kind of network communication compliant with your settings ?</summary>
    <dc:creator>Mathieu Hicauber</dc:creator>
    <dc:date>2012-05-15T07:41:17Z</dc:date>
  </entry>
  <entry>
    <title>RE: Clear content cached across the cluster</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13147615" />
    <author>
      <name>Hitoshi Ozawa</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13147615</id>
    <updated>2012-03-24T08:45:15Z</updated>
    <published>2012-03-24T08:45:15Z</published>
    <summary type="html">&lt;blockquote&gt;but i still don&amp;#39;t know what the wrong with the default value ??&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Liferay&amp;#39;s default is just for a standalone configuration because most small users aren&amp;#39;t clustering.</summary>
    <dc:creator>Hitoshi Ozawa</dc:creator>
    <dc:date>2012-03-24T08:45:15Z</dc:date>
  </entry>
  <entry>
    <title>RE: Clear content cached across the cluster</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13147448" />
    <author>
      <name>Fateh Alchhabi</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13147448</id>
    <updated>2012-03-24T07:06:14Z</updated>
    <published>2012-03-24T07:06:14Z</published>
    <summary type="html">i solve the problem by adding the folloing to my portal-ext and adding with &lt;strong&gt;myehcache&lt;/strong&gt; folder to the location /liferay-6.5/tomcat-6.0.26/webapps/ROOT/WEB-INF/classes i include the file in the attachment  &lt;br /&gt;&lt;br /&gt;but i still don&amp;#39;t know what the wrong with the default value ??&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;br /&gt;##&lt;br /&gt;## Hibernate&lt;br /&gt;##&lt;br /&gt;    hibernate.configs=\&lt;br /&gt;        META-INF/mail-hbm.xml,\&lt;br /&gt;        META-INF/portal-hbm.xml,\&lt;br /&gt;        META-INF/ext-hbm.xml&lt;br /&gt;  &lt;br /&gt;    hibernate.cache.provider_class=com.liferay.portal.dao.orm.hibernate.EhCacheProvider&lt;br /&gt;   &lt;br /&gt;    net.sf.ehcache.configurationResourceName=/myehcache/ehcache/hibernate.xml&lt;br /&gt;   &lt;br /&gt;    net.sf.ehcache.configurationResourceName.peerProviderProperties=peerDiscovery=automatic,multicastGroupAddress=${multicast.group.address[&amp;#34;hibernate&amp;#34;]},multicastGroupPort=${multicast.group.port[&amp;#34;hibernate&amp;#34;]},timeToLive=1&lt;br /&gt;  &lt;br /&gt;    hibernate.cache.use_query_cache=true&lt;br /&gt;    hibernate.cache.use_second_level_cache=true&lt;br /&gt;    hibernate.cache.use_minimal_puts=true&lt;br /&gt;    hibernate.cache.use_structured_entries=false&lt;br /&gt;  &lt;br /&gt;    hibernate.jdbc.batch_size=20&lt;br /&gt;   &lt;br /&gt;    hibernate.jdbc.use_scrollable_resultset=true&lt;br /&gt;    hibernate.bytecode.use_reflection_optimizer=true&lt;br /&gt;    hibernate.show_sql=false&lt;br /&gt;&lt;br /&gt;    hibernate.query.factory_class=org.hibernate.hql.classic.ClassicQueryTranslatorFactory&lt;br /&gt;&lt;br /&gt;    hibernate.generate_statistics=false&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;	&lt;br /&gt;&lt;br /&gt;##&lt;br /&gt;## Ehcache&lt;br /&gt;##&lt;br /&gt;    ehcache.single.vm.config.location=/myehcache/ehcache/liferay-single-vm.xml&lt;br /&gt;    ehcache.multi.vm.config.location=/myehcache/ehcache/liferay-multi-vm.xml&lt;br /&gt;    ehcache.multi.vm.config.location=/myehcache/ehcache/liferay-multi-vm-clustered.xml&lt;br /&gt;	&lt;br /&gt;    ehcache.multi.vm.config.location.peerProviderProperties=peerDiscovery=automatic,multicastGroupAddress=${multicast.group.address[&amp;#34;multi-vm&amp;#34;]},multicastGroupPort=${multicast.group.port[&amp;#34;multi-vm&amp;#34;]},timeToLive=1&lt;br /&gt;&lt;br /&gt;    ehcache.bootstrap.cache.loader.factory=net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory&lt;br /&gt;	&lt;br /&gt;    ehcache.cache.event.listener.factory=net.sf.ehcache.distribution.RMICacheReplicatorFactory&lt;br /&gt;&lt;br /&gt;    ehcache.cache.manager.peer.provider.factory=net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory&lt;br /&gt;&lt;br /&gt;    ehcache.portal.cache.manager.jmx.enabled=true&lt;br /&gt;&lt;br /&gt;    ehcache.blocking.cache.allowed=true&lt;br /&gt;&lt;br /&gt;    ehcache.statistics.enabled=false&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;</summary>
    <dc:creator>Fateh Alchhabi</dc:creator>
    <dc:date>2012-03-24T07:06:14Z</dc:date>
  </entry>
  <entry>
    <title>RE: Clear content cached across the cluster</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13147441" />
    <author>
      <name>Fateh Alchhabi</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13147441</id>
    <updated>2012-03-24T06:57:53Z</updated>
    <published>2012-03-24T06:57:53Z</published>
    <summary type="html">i clustered liferay-6.5  with Hardware  F5 Load Balancer</summary>
    <dc:creator>Fateh Alchhabi</dc:creator>
    <dc:date>2012-03-24T06:57:53Z</dc:date>
  </entry>
  <entry>
    <title>RE: Clear content cached across the cluster</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13052056" />
    <author>
      <name>Hitoshi Ozawa</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13052056</id>
    <updated>2012-03-19T08:12:57Z</updated>
    <published>2012-03-19T08:12:57Z</published>
    <summary type="html">&lt;blockquote&gt;it works only for EE Edition right ? &lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;It works for CE too.&lt;br /&gt;&lt;br /&gt;You&amp;#39;ve mentioned that you&amp;#39;ve setup a Liferay in cluster? How did you set it up? Did you cluster your application server (e.g. JBoss cluster)? If you did, you may run into some trouble.&lt;br /&gt;&lt;br /&gt;Liferay tries to get data from the cache before going to the database. So, you&amp;#39;ll have to share the cache by activating clusterlink.&lt;br /&gt;&lt;br /&gt;If you activate Clusterlink, be sure to check that the data is not being written to the 2 Masters separately because it may result in duplicate entries.</summary>
    <dc:creator>Hitoshi Ozawa</dc:creator>
    <dc:date>2012-03-19T08:12:57Z</dc:date>
  </entry>
  <entry>
    <title>RE: Clear content cached across the cluster</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13052492" />
    <author>
      <name>Fateh Alchhabi</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13052492</id>
    <updated>2012-03-19T07:39:52Z</updated>
    <published>2012-03-19T07:39:52Z</published>
    <summary type="html">thanks for replay but as i know the &lt;blockquote&gt;cluster.link &lt;/blockquote&gt; it works only for EE Edition right ?</summary>
    <dc:creator>Fateh Alchhabi</dc:creator>
    <dc:date>2012-03-19T07:39:52Z</dc:date>
  </entry>
  <entry>
    <title>RE: Clear content cached across the cluster</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=12931570" />
    <author>
      <name>Amos Fong</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=12931570</id>
    <updated>2012-03-12T08:27:05Z</updated>
    <published>2012-03-12T08:27:05Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Looks like you're using default multicast groups/ports then?&lt;br&gt;&lt;pre&gt;&lt;code&gt;    multicast.group.address*...
    multicast.group.port*...

    multicast.group.address["multi-vm"]=239.255.0.5
    multicast.group.port["multi-vm"]=23305&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;Can you make sure your two nodes can communicate through these addresses/ports&lt;br&gt;&lt;br&gt;I believe you also want to turn on cluster link too. I'm not sure all the things affected by it, but I know managing scheduled jobs is part of it.&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;    #
    # Set this to true to enable the cluster link. This is required if you want
    # to cluster indexing and other features that depend the cluster link.
    #
    cluster.link.enabled=false&lt;/code&gt;&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Amos Fong</dc:creator>
    <dc:date>2012-03-12T08:27:05Z</dc:date>
  </entry>
  <entry>
    <title>Clear content cached across the cluster</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=12891790" />
    <author>
      <name>Fateh Alchhabi</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=12891790</id>
    <updated>2012-03-08T15:25:44Z</updated>
    <published>2012-03-08T15:25:44Z</published>
    <summary type="html">hi all &lt;br /&gt;i have two clustered liferay 6.5 servers ,two database server Master/Master replication  relationship &amp;amp; have solr Server &lt;br /&gt;&lt;br /&gt;when i add or modify any journal articles i can&amp;#39;t see the changes on the next server till i go to control panel &amp;gt;&amp;gt; Server administration &amp;gt;&amp;gt; and execute the &amp;#34;Clear content cached across the cluster.&amp;#34;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;and this my  portal-ext.properties is &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;br /&gt;jdbc.default.driverClassName=com.mysql.jdbc.Driver&lt;br /&gt;jdbc.default.url=jdbc:mysql://xxx.xxx.xxx.122:3306/tabuk_db?useUnicode=true&amp;amp;characterEncoding=UTF-8&amp;amp;useFastDateParsing=false&lt;br /&gt;jdbc.default.username=user_a&lt;br /&gt;jdbc.default.password=1234a5678&lt;br /&gt;&lt;br /&gt;jdbc.one.driverClassName=com.mysql.jdbc.Driver&lt;br /&gt;jdbc.one.url=jdbc:mysql://xxx.xxx.xxx.119:3306/tabuk_db?useUnicode=true&amp;amp;characterEncoding=UTF-8&amp;amp;useFastDateParsing=false&lt;br /&gt;jdbc.one.username=user_a&lt;br /&gt;jdbc.one.password=1234a5678&lt;br /&gt;&lt;br /&gt;jdbc.two.driverClassName=com.mysql.jdbc.Driver&lt;br /&gt;jdbc.two.url=jdbc:mysql://xxx.xxx.xxx.122:3306/tabuk_db?useUnicode=true&amp;amp;characterEncoding=UTF-8&amp;amp;useFastDateParsing=false&lt;br /&gt;jdbc.two.username=user_a&lt;br /&gt;jdbc.two.password=1234a5678&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;shard.available.names=default,one,two&lt;br /&gt;shard.selector=com.liferay.portal.dao.shard.RoundRobinShardSelector&lt;br /&gt;&lt;br /&gt; spring.configs=\&lt;br /&gt;        META-INF/base-spring.xml,\&lt;br /&gt;        \&lt;br /&gt;        META-INF/hibernate-spring.xml,\&lt;br /&gt;        META-INF/infrastructure-spring.xml,\&lt;br /&gt;        META-INF/management-spring.xml,\&lt;br /&gt;        \&lt;br /&gt;        META-INF/util-spring.xml,\&lt;br /&gt;        \&lt;br /&gt;        META-INF/jpa-spring.xml,\&lt;br /&gt;        \&lt;br /&gt;        META-INF/audit-spring.xml,\&lt;br /&gt;        META-INF/cluster-spring.xml,\&lt;br /&gt;        META-INF/editor-spring.xml,\&lt;br /&gt;        META-INF/jcr-spring.xml,\&lt;br /&gt;        META-INF/ldap-spring.xml,\&lt;br /&gt;        META-INF/messaging-core-spring.xml,\&lt;br /&gt;        META-INF/messaging-misc-spring.xml,\&lt;br /&gt;        META-INF/poller-spring.xml,\&lt;br /&gt;        META-INF/rules-spring.xml,\&lt;br /&gt;        META-INF/scheduler-spring.xml,\&lt;br /&gt;        META-INF/scripting-spring.xml,\&lt;br /&gt;        META-INF/search-spring.xml,\&lt;br /&gt;        META-INF/workflow-spring.xml,\&lt;br /&gt;        \&lt;br /&gt;        META-INF/counter-spring.xml,\&lt;br /&gt;        META-INF/document-library-spring.xml,\&lt;br /&gt;        META-INF/mail-spring.xml,\&lt;br /&gt;        META-INF/portal-spring.xml,\&lt;br /&gt;        META-INF/portlet-container-spring.xml,\&lt;br /&gt;        \&lt;br /&gt;        #META-INF/dynamic-data-source-spring.xml,\&lt;br /&gt;        META-INF/shard-data-source-spring.xml,\&lt;br /&gt;        #META-INF/memcached-spring.xml,\&lt;br /&gt;        #META-INF/monitoring-spring.xml,\&lt;br /&gt;        \&lt;br /&gt;        META-INF/ext-spring.xml&lt;br /&gt;		#,\&lt;br /&gt;		#META-INF/ext-jotm.xml&lt;br /&gt;		&lt;br /&gt;&lt;br /&gt;# SOLR config&lt;br /&gt;solr.server.url=http://xxx.xxx.xxx.121:8983/solr&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;jcr.initialize.on.startup=true&lt;br /&gt;jcr.workspace.name=liferay&lt;br /&gt;jcr.node.documentlibrary=documentlibrary&lt;br /&gt;jcr.jackrabbit.repository.root=${liferay.home}/data/jackrabbit&lt;br /&gt;jcr.jackrabbit.config.file.path=${jcr.jackrabbit.repository.root}/repository.xml&lt;br /&gt;jcr.jackrabbit.repository.home=${jcr.jackrabbit.repository.root}/home&lt;br /&gt;jcr.jackrabbit.credentials.username=none&lt;br /&gt;jcr.jackrabbit.credentials.password=none   &lt;br /&gt;&lt;br /&gt;dl.hook.impl=com.liferay.documentlibrary.util.JCRHook&lt;br /&gt;image.hook.impl=com.liferay.portal.image.DatabaseHook&lt;br /&gt;dl.hook.s3.access.key=&lt;br /&gt;dl.hook.s3.secret.key=&lt;br /&gt;dl.hook.s3.bucket.name=&lt;br /&gt;dl.file.max.size=0&lt;br /&gt;dl.file.extensions=*&lt;br /&gt;dl.comparable.file.extensions=.css,.js,.htm,.html,.txt,.xml&lt;br /&gt;dl.layouts.sync.enabled=false&lt;br /&gt;dl.layouts.sync.private.folder=Pages - Private&lt;br /&gt;dl.layouts.sync.public.folder=Pages - Public&lt;br /&gt;dl.file.entry.comments.enabled=true&lt;br /&gt;dl.file.rank.enabled=true&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;## Quartz&lt;br /&gt;org.quartz.jobStore.isClustered=true&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;cluster.executor.debug.enabled=true&lt;br /&gt;&lt;br /&gt;hibernate.cache.provider_class=com.liferay.portal.dao.orm.hibernate.EhCacheProvider&lt;br /&gt;net.sf.ehcache.configurationResourceName=/ehcache/hibernate-clustered.xml&lt;br /&gt;ehcache.multi.vm.config.location=/ehcache/liferay-multi-vm-clustered.xml&lt;br /&gt;&lt;br /&gt;transaction.isolation.portal=-1	&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;any idea ?????&lt;img alt="emoticon" src="@theme_images_path@/emoticons/sad.gif" &gt;</summary>
    <dc:creator>Fateh Alchhabi</dc:creator>
    <dc:date>2012-03-08T15:25:44Z</dc:date>
  </entry>
</feed>
