title: Jboss 7.1.1 Cluster of three nodes
body: <p>I want to create a cluster of 3 Jboss AS7 nodes and have the following scenario.</p>
  
  <p>My three machines are 
  1- Windows Server 2003 machine (IP: 193.16.1.146)
  2- Window 7 machine (IP: 193.16.1.67)
  3- Ubuntu Linux Machine (IP: 193.16.1.68)</p>
  
  <p>I am using standalon-full-ha.xml configuration file to run Jboss.</p>
  
  <p>The configuration file is Identical on the three machines (except the IPs) and here is the changes I have made on the three files</p>
  
  <p>1- the jgroup subsystem</p>
  
  <pre><code>&lt;subsystem xmlns="urn:jboss:domain:jgroups:1.1" ***default-stack="tcp"***&gt;
          &lt;stack name="udp"&gt;
              .........
          &lt;/stack&gt;
          &lt;stack name="tcp"&gt;
              &lt;transport type="TCP" socket-binding="jgroups-tcp" diagnostics-socket-binding="jgroups-diagnostics"/&gt;
      &lt;protocol type="TCPPING"&gt;
                  &lt;property name="initial_hosts"&gt;193.16.1.146[7600],193.16.1.68[7600],193.16.1.67[7600]&lt;/property&gt;
                  &lt;property name="num_initial_members"&gt;3&lt;/property&gt;
                  &lt;property name="port_range"&gt;0&lt;/property&gt;
                  &lt;property name="timeout"&gt;2000&lt;/property&gt;
              &lt;/protocol&gt;
              .......
          &lt;/stack&gt;
      &lt;/subsystem&gt;
  </code></pre>
  
  <p>2- The interfaces </p>
  
  <pre><code>&lt;interfaces&gt;
      &lt;interface name="management"&gt;
          &lt;inet-address value="${jboss.bind.address.management:193.16.1.68}"/&gt;
      &lt;/interface&gt;
      &lt;interface name="public"&gt;
          &lt;inet-address value="${jboss.bind.address:193.16.1.68}"/&gt;
      &lt;/interface&gt;
      &lt;interface name="unsecure"&gt;
          &lt;inet-address value="${jboss.bind.address.unsecure:193.16.1.68}"/&gt;
      &lt;/interface&gt;
  &lt;/interfaces&gt;
  </code></pre>
  
  <p>of course the IP changes from machine to machine.</p>
  
  <p>Now when I form a cluster between the two windows machines, every thing works properly. when I start the two nodes I could see in the console logs (in the two machines) the connection to the other node.</p>
  
  <p>When I form a cluster between the Ubuntu machine and any of the two windows machines, the ubuntu machine does not connect to the other node (nothing appears in the its console log) and the windows machine continuously throws Failed to create netty connection: java.net.SocketTimeOutException.</p>
  
  <p>I have disabled the firewall in the ubuntu machine using the following command</p>
  
  <pre><code>sudo ufw disable
  </code></pre>
  
  <p>and then restarted the machine.</p>
  
  <p>What would be the problem that makes the cluster not working between the Ubuntu machine and the other windows machines ? </p>