}
String cmdsvc = bcfg.getProperty(CMDUSER_SVC_PROPERTY);
if (cmdsvc == null) cmdsvc = "admin";
List activesvcs= ServiceManager.getAllActiveServiceNames();
if (activesvcs == null || !activesvcs.contains(cmdsvc)) {
logger.log(Logger.FORCE, rb.E_NOT_ACTIVE_SERVICE, cmdsvc,
CMDUSER_PROPERTY+"="+cmduser);
return false;
}
String str = ServiceManager.getServiceTypeString(cmdsvc);
if (str == null || ServiceType.getServiceType(str) != ServiceType.ADMIN) {