(Please let me know, if I have missed out any other files.)
Now in all the above files when I used port number 7800. The cluster is formed, but there are messages which get generated about packets being dropped.
cluster-service.xml from one node tries to connect to ejb3-clustered-sfsbcache-service.xml or ejb3-entity-cache-service.xml or META-INF/jboss-service.xml of the second node.
But the second node denies this request due to a different name and drops the request. (The cluster is still intact. Same files across different nodes are in communication, but cross file communication is dropped)
Is this normal? Is this how it should be?
To avoid these messages I have configured different ports for the above files across the cluster.
Port number in cluster-service.xml across all nodes is 7800
Port number in ejb3-clustered-sfsbcache-service.xml across all nodes is 7900
Port number in ejb3-entity-cache-service.xml across all nodes is 7950
Port number in META-INF/jboss-service.xml across all nodes is 8000
Is this approach correct? I haven't tested this setup with any application yet, but will be doing it later.
Please let me know if I am doing this wrong
subject: Port Numbers to be used in a JBOSS Cluster over TCP