HTTP Session Replication, during a session in case a node fails a way to avoid a client to close it is through replication to the other nodes. This is explained on the tutorial Distributable and that’s pretty much how mod_cluster makes its way.
In JBoss, this can be modified/tuned with the usage of the
jboss-web.xml that contains several attributes. Although very very outdated, this reference can be used to get some idea of the attributes.
One example of what can be used for is to set the context-root of the project:
<module> <web> <web-uri>web-client.war</web-uri> <context-root>bank</context-root> </web> </module>
[standalone@embedded /] /subsystem=distributable-web/infinispan-session-management=default:read-resource