fix loading agent in ssvm

This commit is contained in:
Edison Su 2011-12-07 15:02:38 -08:00
parent 5df74b0b46
commit 08ae2bc9ff

View File

@ -827,7 +827,7 @@ public class ComponentLocator implements ComponentLocatorMBean {
if (configFile == null || PropertiesUtil.findConfigFile(configFile) == null) {
configFile = "components.xml";
if (PropertiesUtil.findConfigFile(configFile) == null){
throw new CloudRuntimeException("Can not find components.xml");
s_logger.debug("Can not find components.xml");
}
}
return getLocatorInternal(server, true, configFile, "log4j-cloud");