[jboss-jira] [JBoss JIRA] (WFLY-5600) List of nodes taken from org.wildfly.clustering.group.Group is different across nodes

Piotr Nowicki (JIRA) issues at jboss.org
Wed Oct 28 11:00:02 EDT 2015


Piotr Nowicki created WFLY-5600:
-----------------------------------

             Summary: List of nodes taken from org.wildfly.clustering.group.Group is different across nodes
                 Key: WFLY-5600
                 URL: https://issues.jboss.org/browse/WFLY-5600
             Project: WildFly
          Issue Type: Bug
          Components: Clustering, EE, EJB
    Affects Versions: 9.0.1.Final
         Environment: Windows 7 64 bit, JDK 1.8_20 64bit
            Reporter: Piotr Nowicki
            Assignee: Paul Ferraro


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

{code}@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 );
        }
    }
}
{code}

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.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list