if (loadBalancer == null){
GuiUtil.prepareAlert(handlerCtx, "error", GuiUtil.getMessage("msg.loadBalancer.NoSuchLB", new Object[]{lbName}), null);
System.out.println("testLoadBalancerConnection(): lbMap.get(" + lbName+ ")returns null");
System.out.println("loadbalancer map returned from getLoadBalancerMap() : " + lbMap);
}else{
Boolean ok = loadBalancer.testConnection();
if (ok)
GuiUtil.prepareAlert(handlerCtx, "success", GuiUtil.getMessage("msg.loadBalancer.TestConnectionSuccess"), null);
else
GuiUtil.prepareAlert(handlerCtx, "error", GuiUtil.getMessage("msg.loadBalancer.TestConnectionFailed"), null);
}