String msg = _localStrMgr.getString("ConfigBeanAndNameNull");
throw new IllegalArgumentException(msg);
}
_ctx = ctx;
_s = s;
Cluster c = null;
try {
c = ClusterHelper.getClusterByName(_ctx, cRef.getRef());
} catch(ConfigException ce) {
String msg = _localStrMgr.getString("InstanceNotFound", s.getName(),
cRef.getRef());
throw new IllegalArgumentException(msg);
}
_sRef = c.getServerRefByRef(s.getName());
if (_sRef == null) {
String msg = _localStrMgr.getString("ServerRefNotFound",s.getName(), cRef.getRef());
throw new IllegalArgumentException(msg);
}