diff options
author | Vitaly Takmazov | 2016-05-07 22:06:24 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-05-07 22:06:24 +0300 |
commit | 388716986b483e99e5140ca1557cd38632b5115b (patch) | |
tree | c5412c314faf09bf50b2b4902b7c662789d7631d /src/main/java/com/juick/xmpp/s2s/XMPPComponent.java | |
parent | 015db36a14f29837f864a1d18797a05a2d0d8098 (diff) |
fix resource paths
Diffstat (limited to 'src/main/java/com/juick/xmpp/s2s/XMPPComponent.java')
-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 3a1c1ddb..03a12c26 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/juick.conf")); + conf.load(sce.getServletContext().getResourceAsStream("/WEB-INF/juick.conf")); HOSTNAME = conf.getProperty("hostname"); String componentName = conf.getProperty("componentname"); STATSFILE = conf.getProperty("statsfile"); |