Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-5600

List of nodes taken from org.wildfly.clustering.group.Group is different across nodes

    XMLWordPrintable

Details

    Description

      I have a cluster of 2 nodes with a WAR application deployed using web-console and exposing EJB remote business interface with following content:

      @Stateless
      @Remote
      public class ServiceImplementation implements Service {
      
          @Resource( lookup = "java:jboss/clustering/group/ejb" )
          private Group channelGroup;
      
          @Override
          public void printNodeList() {
              for( Node node : channelGroup.getNodes()) {
                  System.out.println( "node = " + node );
              }
          }
      }
      

      I invoke this EJB from a standalone client multiple times (to make sure that method calls will reach both nodes.)

      The result is different on both nodes:

      • On master node the result is correct = two nodes' names are printed out ,
      • On second node the result is incorrect = no nodes' names are printed out.

      This was working fine in WFLY 8.2.0.Final.

      Attachments

        Activity

          People

            pferraro@redhat.com Paul Ferraro
            PedroKowalski Piotr Nowicki (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: