com.sun.enterprise.config.serverbeans.LoadBalancer lb =
lbs.getLoadBalancerByName(lbName);
if(lb == null)
throw new MBeanException(new Exception("No Loadbalancer configured by name " + lbName));
configName = lb.getLbConfigName();
LbConfigPublisher lbp = new LbConfigPublisher(ctx, configName, lbName);
lbp.publish();
_logger.log(Level.INFO, _sMgr.getString(
"http_lb_admin.ExportConfig", configName, lbName));
} catch (Exception e) {
String msg = _strMgr.getString("LbExportFailed",
configName, lbName);