Clustering in Web Applications
Use JBoss CLI to configure 2 session cache mode: repl (replicate session of current node to all other nodes) or dist (replicate session of current node to selected other nodes)
Enable Session Replication in Your Application by adding the <distributable/> element inside the <web-app> tag of your application's web.xml descriptor file.
Modify the default replication behavior by configuring the <replication-config> element, which is a child element of the <jboss-web> element of your application's jboss-web.xmlfile. Typical changes include
<replication-trigger>: will only the setAttribute operation trigger a replication?
<replication-granularity>: will replicate at session level or at session attribute level? (if set, only modified attributes since last session replication will be replicated)
- JBoss EAP References
- JBoss Messaging
- JBossEAP Security
- Starting & Stopping JBoss Application Server
- JBoss Logging by georgemag on 2013-04-18
- Disabling clustering from JBoss EAP 5.x by georgemag on 2013-04-18
- JBoss Data Source Configuration by info on 2014-12-11
- War File zip and unzip
- Changing JVM Heap Size