-
Bug
-
Resolution: Obsolete
-
Major
-
9.0.1.Final
-
Clustering, EE, EJB
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.