Examples of applyLBChanges()


Examples of com.sun.appserv.management.ext.lb.LoadBalancer.applyLBChanges()

        LoadBalancer loadBalancer = AMXUtil.getDomainRoot().getLoadBalancerMap().get(lbName);
        if (loadBalancer == null){
            GuiUtil.prepareAlert(handlerCtx, "error", GuiUtil.getMessage("msg.loadBalancer.NoSuchLB", new Object[]{lbName}), null);
        }
        try{
            loadBalancer.applyLBChanges();
            GuiUtil.prepareAlert(handlerCtx, "success", GuiUtil.getMessage("msg.ApplyLBSuccessful"), null);
        }catch(Exception ex){
            GuiUtil.handleException(handlerCtx, ex);
        }
    }          
View Full Code Here

Examples of com.sun.appserv.management.ext.lb.LoadBalancer.applyLBChanges()

            if (loadBalancer == null)
            {
                throw new CommandException(_strMgr.getString("NoLBFound",
                                            new Object[]{lbName}));
            }
            loadBalancer.applyLBChanges();
            CLILogger.getInstance().printDetailMessage(getLocalizedString(
                   "CommandSuccessful",
                   new Object[] {name}));
        }
        catch(Exception e)
View Full Code Here

Examples of com.sun.appserv.management.ext.lb.LoadBalancer.applyLBChanges()

                        (LoadBalancer) ProxyFactory.getInstance(
                        MBeanServerFactory.getMBeanServer()).getProxy(loadBalancerObjName);
               
                //apply changes if required
                if(loadBalancer.isApplyChangeRequired()) {
                    loadBalancer.applyLBChanges();
                    _logger.log(Level.INFO, "http_lb_admin_applychanges_done",lbName);
                }  
            }
        }catch(Exception e){
            Throwable rootException = ExceptionUtil.getRootCause(e);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.