public static List<TenantDataBean> getActiveTenantsInCluster() throws AxisFault {
List<TenantDataBean> tenants = new ArrayList<TenantDataBean>();
try {
ClusteringAgent agent = getClusteringAgent();
List<ClusteringCommand> list = agent.sendMessage(new GetActiveTenantsInMemberRequest(), true);
if (log.isDebugEnabled()) {
log.debug("sent cluster command to to get Active tenants on cluster");
}
for (ClusteringCommand command : list) {
if (command instanceof GetActiveTenantsInMemberResponse) {