2 Replies Latest reply on Feb 13, 2007 11:05 PM by visolvejboss

    Annoying UDP warnings in serverlog from different cluster

    amedina

      Hi there,

      we're running two different jboss clusters in the same network(currently just one node per cluster).
      Problem: Annoying UDP-Warnings in server.log:

      16:42:32,291 WARN [UDP] discarded message from different group (Tomcat-<PartiotionName>). Sender was <hostname>
      



      I've set different partitionnames via the jboss.partition.name property(just calling "-Djboss.partition.name=..." at startup). I've changed the UDP mcast_addr and the mcast:port in the cluster-service.xml as seen below to different values and i've set the property: discard_incompatibe_packets="true"
      But those log messages are still bugging me! :O

      servernode1:
      <Config>
       <UDP mcast_addr="${jboss.partition.udpGroup:228.1.2.4}" mcast_port="45567"
       ip_ttl="${jgroups.mcast.ip_ttl:8}" ip_mcast="false"
       mcast_recv_buf_size="2000000" mcast_send_buf_size="640000"
       ucast_recv_buf_size="2000000" ucast_send_buf_size="640000"
       loopback="false" discard_incompatibe_packets="true"/>
      


      servernode2:
      <Config>
       <UDP mcast_addr="${jboss.partition.udpGroup:228.1.2.3}" mcast_port="45566"
       ip_ttl="${jgroups.mcast.ip_ttl:8}" ip_mcast="false"
       mcast_recv_buf_size="2000000" mcast_send_buf_size="640000"
       ucast_recv_buf_size="2000000" ucast_send_buf_size="640000"
       loopback="false" discard_incompatibe_packets="true"/>
      


      What is going wrong here?

        • 1. Re: Annoying UDP warnings in serverlog from different cluste
          brian.stansberry

          In a standard "all" config there are two JGroups channels created -- one in cluster-service.xml and one in tc5-cluster.sar/META-INF/jboss-service.xml. (The latter was formerly tc5-cluster-service.xml in 4.0.3.SP1 and earlier.)

          You need to use distinct names, mcast_addr and mcast_port configs between these two files. But, for each file, the name, mcast_addr and mcast_port should be the same on all servers. Thus the cluster-service channels see each other and form a group and the tc5 channels see each other and form a group, and the two sets of channels don't see each other.

          • 2. Re: Annoying UDP warnings in serverlog from different cluste
            visolvejboss

            Hello,

            Try the following to avoid UDP Warnings.

            1. Don't modify cluster-service.xml file in the JBoss AS.
            2. Run the server using the following command.

            /run.sh -c all -g server1 -u 228.1.2.3


            Where,
            -g option is for specifying the partition name.
            -u option is for specifying the UDP multicast address.

            For more information refer http://wiki.jboss.org/wiki/Wiki.jsp?page=TwoClustersSameNetwork

            Hope, It should solve your problem.