This documentation is for WSO2 Application Server 5.2.0. View documentation for the latest release.
Page Comparison - Clustering and Http Session Replication (v.2 vs v.3) - Application Server 5.2.0 - WSO2 Documentation

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.




Page is under construction.

Check whether 5.0.0 can be removed.



Web Application session replication is enabled in a clustered environment from WSO2 Application Server 5.0.0 onwards. Therefore, when a Web application is defined as "distributable" and once a session is created for it from a node, that session gets replicated to other nodes as well. The subsequent changes in the session from any node will also get replicated to other nodes. The same session replication mechanism from Tomcat ( is used here, except for the Axis2 Tribes Framework used to send the session replication messages across the cluster.

There are some custom changes required to enable this session replication from Tomcat to WSO2 Carbon. For example, WSO2 has developed its own TomcatValve to start the session replication process and own implementation of ClusterableSessionManager, which is responsible for handling session for a distributable Web application and sending session replication messages.