{
MBeanServerConnection mbsc = getMBeanServerConnection(getHost(), getPort(),
getUser(), getPassword());
DomainRoot domainRoot = ProxyFactory.getInstance(mbsc).getDomainRoot();
DomainConfig domainConfig = domainRoot.getDomainConfig();
LoadBalancerConfig loadBalancerConfig =
domainConfig.getLoadBalancerConfigMap().get(lbName);
if (loadBalancerConfig==null){
throw new CommandException(
_strMgr.getString("LoadBalancerConfigNotDefined",
new Object[] {lbName}));
}
configName = loadBalancerConfig.getLbConfigName();
CLILogger.getInstance().printDebugMessage(
"Config name for "+lbName+" is "+configName);
}
Vector oprnds = getOperands();
String fileName = null;