JBoss.orgCommunity Documentation

Chapter 11. Installing Server-Side Components

11.1. Installing in JBoss AS 6.0.0.M1 and up
11.2. Installing in JBoss AS 5.x
11.3. Installing in JBoss Web or Tomcat
11.4. Installing in JBoss AS 4.2.x or 4.3.x

First, extract the server-side binary to a temporary directory. The following assumes it was extracted to /tmp/mod_cluster

Your next step depends on whether your target server is JBoss AS or JBossWeb/Tomcat.

You don't need to do anything to install the java-side binaries in AS 6.x; it's part of the AS distribution's default, standard and all configurations.

Assuming $JBOSS_HOME indicates the root of your JBoss AS install and that you want to use mod_cluster in the AS's all config:

cp -r /tmp/mod_cluster/mod_cluster.sar $JBOSS_HOME/server/all/deploy

Assuming $CATALINA_HOME indicates the root of your JBossWeb or Tomcat install:

cp -r /tmp/mod_cluster/JBossWeb-Tomcat/lib/* $CATALINA_HOME/lib/ 

Assuming $JBOSS_HOME indicates the root of your JBoss AS install and that you want to use mod_cluster in the AS's all config:

cp -r /tmp/mod_cluster/JBossWeb-Tomcat/lib/mod_cluster.jar $JBOSS_HOME/server/all/deploy/jboss-web.deployer