4 Replies Latest reply on Nov 6, 2011 8:19 PM by cgkjboss

    Please advise: "discarded message from non-member"

    cgkjboss

      please advise. This message "discarded message from non-member", shows up on a 20 second interval on one of the two  clustered servers I am setting up.

       

      My start up is same on both servers, for the second server, I set PeerId = 2.

       

      I am using scenario 1 in the HA Enterprise Services with JBoss Application Server Clusters guide.

       

      Thanks,

      Chris Kennedy

       

      % cat start.miis

      #!/bin/tcsh

      set node = MiisDev

      set partition = MiisDevPartition

      set mcAddress = 239.255.100.100

      set bindAddress = 146.243.111.241

      set portNumber = ports-default

      set PeerID = 1

      cd ~/jboss-5.1.0.GA/bin

      ps -ef|grep java | grep $partition|grep -v grep

      if ($status == 0) then

          exit 1

      endif

      echo Starting Server: $node Partition: $partition multicastAddress $mcAddress bindAddress: $bindAddress\:$portNumber

      ./run.sh -c $node -g $partition -u $mcAddress -b $bindAddress -Djboss.messaging.ServerPeerID=$PeerID -Djboss.service.binding.set=$portNumber &

        • 1. Re: Please advise: "discarded message from non-member"
          wdfink

          Could you post the "discarded" message? Also post the "Starting Server" output and maybe attach the boot/server logfiles of your nodes.

           

          It looks like that you configure the two nodes wrong or there is another node seen (by accident) and configured for a different cluster.

          Does http://community.jboss.org/wiki/TwoClustersontheSameNetwork helps?

          • 2. Re: Please advise: "discarded message from non-member"
            rhusar

            Looks to me that is really the cause -- 2 clusters on the same network.

             

            A simple test for that is to disconnect your test machine from the network whatsoever and try to create the cluster. The messages will disappear.

            • 3. Re: Please advise: "discarded message from non-member"
              cgkjboss

              Thanks for the information.  I think this is correct as the one server with the warning does have another j2ee server running on it (it's a WLS no Jboss).  We must have selected the same multicast address (see "set mcAddress = 239.255.100.100" above).  I think changing the mcAddress in the script above for both Jboss instances will resolve the problem.  I'll try this later today.

              • 4. Re: Please advise: "discarded message from non-member"
                cgkjboss

                All, thanks for your input on this question.  I truly appreciated it.  I worked on diagnosing the problem last week by turning off the Jboss server on the second server.  This stopped the "discarded message from non-member" warning leading me to believe the problem was not associated with another j2ee server on the same multicast address.  It turned out that the problem was that I tried to implement a virtual ip address by adding cfg-eth0 (that's eth0 'colon' 0) to /etc/sysconfig.  By removing this config file, I was able to remove the warning messages on the other jboss server.