diff --git a/src/com/platform/utils/ConfigsLoader.java b/src/com/platform/utils/ConfigsLoader.java index 342f493d..98366117 100644 --- a/src/com/platform/utils/ConfigsLoader.java +++ b/src/com/platform/utils/ConfigsLoader.java @@ -6,6 +6,8 @@ import java.util.Properties; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; +import com.platform.http.gfs.HttpClientConstant; + import ch.ethz.ssh2.Connection; public class ConfigsLoader implements ServletContextListener { @@ -64,11 +66,11 @@ public class ConfigsLoader implements ServletContextListener { Configs.GATHER_TABLE_PASSWORD=properties.getProperty("gather-table-user-password"); + HttpClientConstant.URL_IP_PORT = properties.getProperty("HttpClientConstant_URL_IP_PORT").trim(); Constant.hostIp=properties.getProperty("gfs_control_ip").trim(); Constant.rootPasswd=properties.getProperty("gfs_control_rootPassWd").trim(); Constant.ganymedSSH = new GanymedSSH(Constant.hostIp, Constant.rootUser, Constant.rootPasswd, Constant.port); - } public ConfigPropertyReader getcReader() {