JBoss Application Server v4 Clustering Training

Course #:WA1451

JBoss Application Server v4 Clustering Training

This course teaches how to manage a cluster of JBoss Application Servers. Clustering can be a powerful way of improving the performance and availability of applications but can be difficult to manage in a JBoss environment where most of the configuration is done by manually editing configuration files. This course will provide tools and techniques to simplify the administration of multiple JBoss Application Servers.


  • Managing JBoss Configurations with JBoss Eclipse IDE
  • JBoss Clustered Architecture
  • JGroups Network Communication
  • Integrating JBoss with Apache Web Server
  • Impact of Clustering on Various Services

What you will learn

  After completing this course, the student should be able to:
  • Use various techniques to create a more robust environment and avoid common problems
  • Configure a cluster of JBoss Application Servers
  • Modify the JGroups network communication used by the cluster
  • Deploy applications to a cluster
  • Integrate the JBoss Application Server with the Apache web server for load balancing
  • Configure services that require special configuration in a cluster and understand their impact on applications


  Webmasters and System Administrators who will configure and maintain clusters of JBoss Application Servers.



Basic knowledge of JBoss administration is required for this course. Students should already know some of the main configuration files for JBoss and how to install and control JBoss Application Servers. For students that do not have this prerequisite knowledge the following course is recommended as it provides this knowledge and contains the clustering content of this class as well:

WA1364 JBoss Application Server v4 Administration

The student should have a familiarity with basic Windows operational skills like running commands from a command prompt and networking. Although not required, familiarity with web-based applications, web servers, and Java is suggested.


  Two days

Outline of JBoss Application Server v4 Clustering Training

1. JBoss Introduction

  • Objectives
  • JBoss Family
  • JBoss Application Server
  • Hibernate
  • JBoss Portal
  • JBoss jBPM
  • JBoss Eclipse IDE
  • Summary
  • Reference
  • Lab Summary
  • Common Lab Errors
  • Lab Summary
  • Common Lab Errors


2. Managing JBoss Configurations

  • Objectives
  • JBoss Configurations
  • JBoss Eclipse IDE
  • Perspectives and Views
  • JBoss IDE Tips
  • XML in JBoss IDE
  • Controlling JBoss Servers
  • Managing JBoss Configuration
  • Updating JBoss Version
  • Summary
  • Reference
  • Lab Summary
  • Common Lab Errors


3. Overview of Clustered Architecture

  • Objectives
  • Clusters
  • Horizontal Scaling
  • Vertical Scaling
  • Clustering Terminology
  • Clustering in JBoss
  • Running Multiple Instances of JBoss on Single Machine
  • Adding JBoss Instances to a Cluster
  • Clusters on the Same Network
  • Viewing JBoss Cluster Information
  • Summary
  • Reference
  • Lab Summary
  • Common Lab Errors
  • Lab Summary
  • Common Lab Errors


4. JGroups Network Communication

  • Objectives
  • Introduction to JGroups
  • Group Coordinator
  • Joining the Group
  • JGroups Layering
  • Sample JGroups Layers
  • Transport Protocols
  • Network Impact
  • Discovery Protocols
  • Merging Groups
  • Failure Detection Protocols
  • Group Membership Service
  • State Transfer
  • Summary
  • Reference
  • Lab Summary
  • Common Lab Errors


5. Clustered Deployment

  • Objectives
  • Deployment Options
  • Regular Deployment
  • HA-Singleton Deployment
  • Farming Deployment
  • Issues of Farm Deployment
  • Summary
  • Reference
  • Lab Summary
  • Common Lab Errors


6. Load Balancing with Apache and mod_jk

  • Objectives
  • Role of Web Server
  • Supported Web Servers
  • Using Apache with Tomcat
  • Configuring mod_jk
  • Adding mod_jk Module
  • Loading mod_jk Module
  • Configure mod_jk
  • Configure workers.properties
  • mod_jk Load Balancing
  • Configure uriworkermap.properties
  • Configure Tomcat
  • Apache mod_jk Status
  • Summary
  • Reference
  • Lab Summary
  • Common Lab Errors


7. Distributed Applications

  • Objectives
  • Application State
  • Distributed Failover
  • HTTP Session State Replication
  • JBossCache
  • Configuring Tomcat for HTTP Session Replication
  • Utilizing Session Replication
  • Clustered Session EJBs
  • Clustering Stateless Session Beans (EJB 2.x)
  • Clustering Stateful Session Beans (EJB 2.x)
  • Clustering Entity Beans (EJB 2.x)
  • Clustering Entity Beans (EJB 2.x)
  • Problems Deploying to default Configuration
  • Summary
  • Reference
  • Clustering Stateless Session Beans (EJB 3.x)
  • Clustering Stateful Session Beans (EJB 3.x)
  • Clustering Entity Beans (EJB 3.x)
  • Clustering Entity Beans (EJB 3.x)
  • Lab Summary
  • Common Lab Errors


8. Clustered Services

  • Objectives
  • Introduction
  • Clustering Services
  • Clustered JNDI Services
  • HA-JNDI Clients
  • Access HA-JNDI in Java Code
  • Access HA-JNDI by Modifying jndi.properties File
  • Properties in jndi.properties File
  • HA-JNDI With EJBs
  • Clustered JMS Services
  • Configure HA-JMS
  • HA-JMS and HA-JNDI
  • MDB EJBs and HA-JMS
  • HA-JMS Failover
  • Summary
  • Reference
  • Lab Summary
  • Common Lab Errors


Appendix A. JBoss Operations Network

  • Objectives
  • JBoss Operations Network
  • JBoss ON Features
  • JBoss ON Architecture
  • JBoss ON Server
  • JBoss ON Agent
  • Supported Platforms
  • JBoss ON Console
  • Dashboard
  • Browse Resources
  • Resource Detail
  • Monitoring
  • Metric Summary
  • Metric Detail Chart
  • Inventory
  • Control
  • Configuration
  • Alerts
  • Console Users
  • Command Line
  • Summary
  • Reference
We regularly offer classes in these and other cities. Atlanta, Austin, Baltimore, Calgary, Chicago, Cleveland, Dallas, Denver, Detroit, Houston, Jacksonville, Miami, Montreal, New York City, Orlando, Ottawa, Philadelphia, Phoenix, Pittsburgh, Seattle, Toronto, Vancouver, Washington DC.