2 Replies Latest reply on Dec 9, 2004 11:09 AM by kshiv2001

    Clustering - TCP or UDP configuration

    kshiv2001

      Hi,
      I am running jboss-4.0.0 in clustering mode in 2 servers(Multihomed Linux machines). They are working fine when I use TCP in /server/all/deploy/cluster-service.xml. But when I use UDP, it is not working as expected.
      I also see in two other places, jboss is using UDP in /server/all/deploy/tc5-cluster-service.xml and /server/all/deploy/jbossweb-tomcat50.sar/sso-channel.xml.
      My question is, Do I need to change them also to use TCP? How far will it affect TreeCache and SSO stuffs?
      any feedback will be so helpful :-)
      Thx
      Siva

        • 1. Re: Clustering - TCP or UDP configuration
          belaban

          Those are other clusters, depends on the app whether you want to switch them to TCP.

          Regarding multi-homed boxes: use the bind_addr=1.2.3.4 in UDP (cluster-service.xml), or start JBoss with -b=1.2.3.4 (only 3.2.6 and higher)

          Bela

          • 2. Re: Clustering - TCP or UDP configuration
            kshiv2001

            Hi Bela,
            Thanx for your quick response. I have already tried with bind_addr in /server/all/deploy/cluster-service.xml with my multihomed boxes. but I never managed to get it running. With TCP, the farming and failover are working fine. This is fine for me now.
            When we use entity and stateful session bean, do I have to change to TCP in /server/all/deploy/tc5-cluster-service.xml and /server/all/deploy/jbossweb-tomcat50.sar/sso-channel.xml. Because I dont know exactly when the TreeCache is being used.
            Thanks/Regards,
            Siva