Clustering > JBoss > Protocol
  
Protocol
By default, JBoss nodes communicate using the UDP protocol. There are two potential problems using UDP:
Some organizations do not want to use UDP because it is a broadcast protocol.
By default, if the JBoss nodes are on a different network subnet, a UDP broadcast may not work.
If either of these problems arise, you can use TCP. TCP is a point-to-point protocol; it is especially useful where there are just two servers. To change to TCP protocol, you must edit the file C:\PRECISION\WebUI\jboss\server\default\deploy\cluster-service.xml. In this file, comment out the UDP content and use the TCP parts of the file. You also must manually change the file to set up the communication. Change two lines:
<TCP bind_addr=”thishost” start_port=”7800” loopback=”true”
<TCPPING initial_hosts=”thishost (7800),otherhost(7800)” port_range=”3”
Change “thishost” to the name of the server you are currently on. Change “otherhost” to the name of the other JBoss node.