Package org.jvnet.glassfish.comms.admin.clbadmin.reader.api

Examples of org.jvnet.glassfish.comms.admin.clbadmin.reader.api.LbReaderException


        _clusterRef = ref;

        try {
            if (!ClusterHelper.isACluster(ctx, ref.getRef())) {
                String msg = _strMgr.getString("ClusterNotFound", ref.getRef());
                throw new LbReaderException(msg);
            }
        } catch (ConfigException ce) {
            String msg = _strMgr.getString("ClusterNotFound", ref.getRef());
            throw new LbReaderException(msg, ce);
        }
    }
View Full Code Here


            refs = ClusterHelper.getApplicationReferences(_configCtx,
                    _clusterRef.getRef());
        } catch (ConfigException ce) {
            String msg = _strMgr.getString("ErrorFindingClusteredApplications",
                    _clusterRef.getRef());
            throw new LbReaderException(msg, ce);
        }

        return ClusterReaderHelper.getWebModules(_configCtx, refs,
            _clusterRef.getRef());
    }
View Full Code Here

        try {
            c = ServerHelper.getConfigForServer(_configCtx, sName);
        } catch (ConfigException ce) {
            String msg = _localStrMgr.getString("ConfigNotFound", sName);
            throw new LbReaderException(msg, ce);
        }

        // http-listeners
        HttpService httpSvc = c.getHttpService();
        HttpListener[] lstnrs = httpSvc.getHttpListener();
View Full Code Here

            String host = info.getHost();

            return host;
        } catch (Exception e) {
            String msg = _localStrMgr.getString("GetHostNameFailed");
            throw new LbReaderException(msg, e);
        }
    }
View Full Code Here

        _serverRef = ref;

        try {
            if (!ServerHelper.isServerStandAlone(ctx, ref.getRef())) {
                String msg = _strMgr.getString("ServerNotFound", ref.getRef());
                throw new LbReaderException(msg);
            }
        } catch (ConfigException ce) {
            String msg = _strMgr.getString("ServerNotFound", ref.getRef());
            throw new LbReaderException(msg, ce);
        }
    }
View Full Code Here

            refs = ServerHelper.getApplicationReferences(_configCtx,
                    _serverRef.getRef());
        } catch (ConfigException ce) {
            String msg = _strMgr.getString("ErrorFindingClusteredApplications",
                    _serverRef.getRef());
            throw new LbReaderException(msg, ce);
        }

        return ClusterReaderHelper.getWebModules(_configCtx, refs,
            _serverRef.getRef());
    }
View Full Code Here

            try {
                bean = ApplicationHelper.findApplication(_configCtx, name);
            } catch (ConfigException ce) {
                String msg = _strMgr.getString("ErrorFindingApplication", name,
                        target);
                throw new LbReaderException(msg, ce);
            }

            LocationHelper lhelper = new LocationHelper(_configCtx);

            if (bean instanceof WebModule) {
View Full Code Here

TOP

Related Classes of org.jvnet.glassfish.comms.admin.clbadmin.reader.api.LbReaderException

Copyright © 2018 www.massapicom. 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.