diff options
author | Vitaly Takmazov | 2016-05-07 20:08:22 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-05-07 20:08:22 +0300 |
commit | f8fec82fc5ecbf762d6a7b6047ad1529d0bbc09d (patch) | |
tree | ac098791098da44b81efdfa6de2f70d9f6c5587f | |
parent | b1d5d5801e90ef0d4e282a78543f1435b8b7d223 (diff) |
fix config path
-rw-r--r-- | src/main/java/com/juick/xmpp/s2s/XMPPComponent.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/xmpp/s2s/XMPPComponent.java b/src/main/java/com/juick/xmpp/s2s/XMPPComponent.java index 4b523ab0..3a1c1ddb 100644 --- a/src/main/java/com/juick/xmpp/s2s/XMPPComponent.java +++ b/src/main/java/com/juick/xmpp/s2s/XMPPComponent.java @@ -157,7 +157,7 @@ public class XMPPComponent implements ServletContextListener { executorService.submit(() -> { Properties conf = new Properties(); try { - conf.load(sce.getServletContext().getResourceAsStream("WEB-INF/s2s.conf")); + conf.load(sce.getServletContext().getResourceAsStream("WEB-INF/juick.conf")); HOSTNAME = conf.getProperty("hostname"); String componentName = conf.getProperty("componentname"); STATSFILE = conf.getProperty("statsfile"); |