Clustering does not work with Jboss 3.0.6
bongosdude Feb 10, 2003 1:13 PMI have set up 2 jboss-3.0.6_tomcat-4.1.18 on two win2k server. Here are the steps I did to install and setup cluster.
1. remove jboss-net.sar since I am useing tomcat-4.1.18
2. Edit cluster-service.xml to create cluster ListManagerPartition. I still leave DefaultPartition there.
3. Edit farm-service.xml to setup hot deployment for partition ListManagerPartition.
4. edit jboss.xml for my bean to include the tag True
5. create directory %JBOSS_HOME%/server/all/farm on WIN2h server 1
6. deploy my entity jar file to %JBOSS_HOME%/server/all/farm on WIN2k server 1
When I start jboss from WIN2k server 1, I did not see the entity bean deployed. If I moved %JBOSS_HOME%/server/all/farm to %JBOSS_HOME%/server/all/deploy/farm, then the entity bean was deployed to server 1 but it is not to server 2.
What did I do wrong and I should I do to make clustering work?
Here is my config.
cluster-service.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- ===================================================================== -->
<!-- -->
<!-- Sample Clustering Service Configuration -->
<!-- -->
<!-- ===================================================================== -->
<!-- ==================================================================== -->
<!-- Cluster Partition: defines cluster -->
<!-- ==================================================================== -->
DefaultPartition
ListManagerPartition
true
<UDP mcast_addr="228.1.2.3" mcast_port="45566"/>
<VERIFY_SUSPECT timeout="1500" />
<STATE_TRANSFER />
<!-- ==================================================================== -->
<!-- HA Session State Service for SFSB -->
<!-- ==================================================================== -->
jboss:service=ListManagerPartition
/HAPartition/LMService
ListManagerPartition
<!-- ==================================================================== -->
<!-- HA JNDI -->
<!-- ==================================================================== -->
jboss:service=ListManagerPartition
ListManagerPartition
56789
############## farm-service.xml #######
<?xml version="1.0" encoding="UTF-8"?>
jboss:service=ListManagerPartition
jboss.jca:service=LocalTxCM,name=ContentDS
ListManagerPartition
./farm
jboss.deployment:type=DeploymentScanner,flavor=URL
jboss.system:service=MainDeployer
Please help.