Legacy Knowledge Base
Published Sep. 10, 2025

Changes Not Reflecting Across Nodes

Written By

Kartik Singh

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • In a clustered Liferay environment, changes made on Node 1 are not consistently reflected on Node 2. The changes only appear after restarting the Liferay server.

Environment

  • Liferay DXP [All versions]

Resolution

  1. Verifying tcp.xml Placement for Clustering Configuration:
    1. Ensure that the tcp.xml file is placed in the correct location, as specified in the Liferay documentation. If the file is placed in the Liferay_Home directory instead of the expected path tomcat/webapps/ROOT/WEB-INF/classes/jgroups/tcp.xml, and the following configuration is used in the portal-ext.properties file, clustering may not function as expected and changes might not sync across nodes:
      • cluster.link.enabled=true
        cluster.link.channel.properties.control=tcp.xml
        cluster.link.channel.properties.transport.0=tcp.xml
  2. Recommended Configuration Approaches
    • There are two valid methods for referencing the tcp.xml configuration file:
      1. If the file is placed in the classes directory (e.g., WEB-INF/classes/jgroups/). Use a relative path:
        • cluster.link.enabled=true
          cluster.link.channel.properties.control=/jgroups/tcp.xml
          cluster.link.channel.properties.transport.0=/jgroups/tcp.xml
      2. If the file is placed in the Liferay_Home directory or any other custom location. Use an absolute path:
        • cluster.link.enabled=true
          cluster.link.channel.properties.control=/home/me/Liferay_Home/jgroups/tcp.xml 
          cluster.link.channel.properties.transport.0=/home/me/Liferay_Home/jgroups/tcp.xml

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base