5 Replies Latest reply on Jan 20, 2009 2:19 PM by brian.stansberry

    discarded message from different group

      hi all,
      i use jboss 4.2.1.GA
      i have multiple jboss app. servers on network, all of them has different partition name.
      i use partition name parameter on startup script:

      screen ./run.sh -c all -b 0.0.0.0 -Djboss.partition.name=Partition_151
      

      screen ./run.sh -c all -b 0.0.0.0 -Djboss.partition.name=Partition_153
      

      screen ./run.sh -c all -b 0.0.0.0 -Djboss.partition.name=Partition_135
      


      but every time i get these messages :(
      10:27:51,915 WARN [UDP] discarded message from different group "Tomcat-Cluster" (our group is "Tomcat-Partition_151"). Sender was 192.168.9.135:64274
      10:28:08,775 WARN [UDP] discarded message from different group "Tomcat-Cluster" (our group is "Tomcat-Partition_151"). Sender was 192.168.9.135:64274
      10:28:09,765 WARN [UDP] discarded message from different group "Tomcat-Cluster" (our group is "Tomcat-Partition_151"). Sender was 192.168.9.135:64274
      



      any idea will be appreciated


      _______________
      Regards
      Paata.

        • 1. Re: discarded message from different group
          awclemen

          These messages are just warnings from the clustering that it is recieving a packet from a cluster partition whose name is different from it's own. Meaning that you might have accidently named your partition wrong on one server, so it is warning you. If you want to make those messages go away, adjust your log4j.xml accordingly:

           <!-- JGroups throws an error for unfamiliar UDP datagrams that is recieves, throw them away -->
           <category name="org.jgroups.protocols.UDP">
           <priority value="ERROR"/>
           </category>
          


          • 2. Re: discarded message from different group

            hi awclemen
            Thank you for your post.
            i have one another question :
            what does it mean wrong partition name ???
            what is here incorrect :

            screen ./run.sh -c all -b 0.0.0.0 -Djboss.partition.name=Partition_151
            




            ______________
            Regards
            Paata.

            • 3. Re: discarded message from different group
              awclemen

              I assume that you have three different clusters (Partition_151, Partition_153 & Partition_135) with multiple machines in each and they are on the same network. Because they are sending out mutlicast messaging - each cluster's message with be intercepted by the other clusters. When the other clusters see these messages, they just issue a warning IN CASE you have only one cluster on the network and you accidently misnamed a partition. But if that is not the case, you can safely ignore the messages. At least that's the way I understand it, hopefully someone will speak up if I am incorrect.

              You best bet is to reference the wiki article about JGroup isolation:
              http://wiki.jboss.org/wiki/Wiki.jsp?page=TwoClustersSameNetwork

              hopefully that helps...

              Andy

              • 4. Re: discarded message from different group
                chraja

                I am using jboss 4.2 .
                I dont find log4j.xml on my server
                These messages are very annoying , I am doing analysis for Jboss messaging
                Is there any other place where I have to do this for JBoss 4.2.

                thanks,
                Raja

                • 5. Re: discarded message from different group
                  brian.stansberry

                  To change logging, edit the $JBOSS_HOME/server/.../conf/jboss-log4j.xml file.

                  But you should fix the underlying problem by doing what's described at "Two Clusters Same Network". Current URL is http://www.jboss.org/community/docs/DOC-12460