I am trying to setup Clusering in JBoss-4.0.5 server using jboss-messaging-1.2.0.sp1.
As mentioned in the document, i have run the script releaseadmin.xml to generate the server configurations like:
ant -f release-admin.xml cluster-node ant -f release-admin.xml -Did=1 -Dports=ports-01 cluster-node ant -f release-admin.xml -Did=2 -Dports=ports-02 cluster-node ant -f release-admin.xml -Did=3 -Dports=ports-03 cluster-node
After running this script, I started the above servers and it throws port conflict(JVM_BIND) error. So I have changed the port numbers in Server.xml and jnp port number on jboss-service.xml. Now the servers are running.
When we try to test failover the Auto-discovery is not woking. How to enable auto-discovery for our client application?