jbossas/jboss-as — pull request #2281 by jaikiran (2012-05-09 18:37:43+00:00)
Title: Fix for AS7-4755

The commit here fixes the issue reported in https://issues.jboss.org/browse/AS7-4755.

The issue was that when the local EJB receiver received a cluster topology, it passed on that info to the EJB client contexts that were available on that local server so that those contexts can make use of that information for connecting to cluster nodes. The default server level EJB client context which can only manage the local EJB receiver, due to its inherent inability to know about connection configurations of remote nodes, should be skipped while trying to make use of the cluster topology so that it doesn't try to connect and fail with cannot connect errors. The commit here ensures that we skip that EJB client context.