]
Paul Ferraro closed WFLY-5600.
------------------------------
Fix Version/s: 10.0.0.Alpha3
Resolution: Out of Date
This issue was addressed by:
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
Labels: channel, cluster, jgroups
Fix For: 10.0.0.Alpha3
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.