cluster.setClusterSender(sender);
ReplicationValve valve = new ReplicationValve();
valve
.setFilter(".*\\.gif;.*\\.js;.*\\.jpg;.*\\.jpeg;.*\\.htm;.*\\.html;.*\\.txt;");
cluster.addValve(valve);
FarmWarDeployer deployer = new FarmWarDeployer();
deployer.setTempDir("/tmp/war-temp/");
deployer.setDeployDir("/tmp/war-deploy/");
deployer.setWatchDir("/tmp/war-listen/");
deployer.setWatchEnabled(false);
cluster.setClusterDeployer(deployer);
standardHost.setCluster(cluster);
cluster.addLifecycleListener(new InfoLifecycleListener());
cluster.addClusterListener(new JvmRouteSessionIDBinderListener());
// DeltaManager is default!