Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am totally new to JBoss. Basically i am needed to setup a JBoss clustering environment on windows. Meaning, JBossA sits on machine A and JBossB sits on machine B. So when JBossA fails, it will redirect the clients to JBossB.

I have downloaded the enterprise-installer-5.0.1.jar. After which, I have totally no idea on how to go about setting up the cluster. What are the steps that i should do?? Or what other files do i need to download too...

Any guide will be greatly appreciated. Thanks!


share|improve this question
up vote 1 down vote accepted

Firstly, you need to do a lot more reading.

What you're trying to do (JBoss Failover) has infact not much to do with JBoss Clustering.

If you put, for instance, an Apache httpd in front of your JBosses, you can forward client requests to the app servers using mod_proxy_ajp. If you add mod_proxy_balancer to that, you have a working failover and loadbalancing setup.

JBoss Clustering only comes into play at the point where you want to do session replication, distributed caching etc.

Using the all profile ( -c all) as a starting point will already get you a working JBoss cluster, running with default settings and probably doing a lot more than you'll ever use.

share|improve this answer
Hi, thanks for the reply... I don't really get what you meant by if u run the profile ( -c all), i am already in a JBoss cluster?? Then where do i do the "adding" of nodes into the cluster?? – Nivek Sep 8 '10 at 6:06
The nodes will automatically discover each other via Multicast.… – al. Sep 8 '10 at 20:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.