HTTP Session Replication

From NovaOrdis Knowledge Base
Revision as of 23:55, 31 May 2016 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

Internal

Overview

The web application will be clustered if its web.xml contains the <distributable> tag:

<web-app  xmlns="http://java.sun.com/xml/ns/j2ee"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
          xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
                              http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" 
          version="2.4">
    <distributable/>
    <!-- ... -->
</web-app>

The sever also must to be configured to support HTTP session clustering, see WildFly Server Configuration below.

WildFly Server Configuration

WildFly Infinispan HTTP Session Replication Configuration