The JBoss 4 Application Server Clustering Guide

JBoss AS 4.0.5

Release 2

Table of Contents

1. Clustering
1.1. Introduction
1.1.1. Cluster Definition
1.1.2. Service Architectures Client-side interceptor Load balancer
1.1.3. Load-Balancing Policies JBoss AS 3.0.x JBoss AS 3.2+
1.1.4. Farming Deployment
1.1.5. Distributed state replication services
1.2. Clustered JNDI Services
1.2.1. How it works
1.2.2. Client configuration
1.2.3. JBoss configuration
1.3. Clustered Session EJBs
1.3.1. Stateless Session Bean in EJB 2.x Handle Cluster Restart
1.3.2. Stateful Session Bean in EJB 2.x The EJB application configuration Optimize state replication The HASessionState service configuration
1.3.3. Stateless Session Bean in EJB 3.0
1.3.4. Stateful Session Bean in EJB 3.0
1.4. Clustered Entity EJBs
1.4.1. Entity Bean in EJB 2.x
1.4.2. Entity Bean in EJB 3.0 Configure the distributed cache Configure the entity beans for cache
1.5. HTTP Services
1.5.1. Download the software
1.5.2. Configure Apache to load mod_jk
1.5.3. Configure worker nodes in mod_jk
1.5.4. Configure JBoss
1.5.5. Configure HTTP session state replication
1.5.6. Enabling session replication in your application
1.5.7. Use FIELD level replication
1.5.8. Monitoring session replication
1.5.9. Using Single Sign On
1.6. Clustered JMS Services
1.6.1. High Availability Singleton Fail-over Server Side Configuration HA-JMS Client Load Balanced HA-JMS MDBs
2. JBossCache and JGroups Services
2.1. JGroups Configuration
2.1.1. Transport Protocols UDP configuration TCP configuration TUNNEL configuration
2.1.2. Discovery Protocols PING TCPGOSSIP TCPPING MPING
2.1.3. Failure Detection Protocols FD FD_SOCK FD_SIMPLE
2.1.4. Reliable Delivery Protocols UNICAST NAKACK
2.1.5. Other Configuration Options Group Membership Flow Control State Transfer Distributed Garbage Collection Merging
2.2. JBossCache Configuration