X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=src%2Fdolda%2Fjsvc%2Fj2ee%2FTomcatContext.java;h=8672d3911712dfbc6467eb587a9c4798442ba10c;hb=c54407f455eaab62e2b254cac4ba4eab3986e776;hp=bf6312b75ae1cad36ebf073da45aeb50fa460a96;hpb=f94215d00376e335d13e893d8003375164fb940d;p=jsvc.git diff --git a/src/dolda/jsvc/j2ee/TomcatContext.java b/src/dolda/jsvc/j2ee/TomcatContext.java index bf6312b..8672d39 100644 --- a/src/dolda/jsvc/j2ee/TomcatContext.java +++ b/src/dolda/jsvc/j2ee/TomcatContext.java @@ -58,10 +58,10 @@ public class TomcatContext extends J2eeContext { logger.log(Level.WARNING, "no permissions to fetch Tomcat base directory while reading configuration", e); return; } - config.put("jsvc.storage", "file:" + new File(new File(base, "work"), "jsvc").getPath()); + sysconfig.put("jsvc.storage", "file:" + new File(new File(base, "work"), "jsvc").getPath()); File cdir = new File(base, "conf"); try { - loadprops(config, new File(cdir, "jsvc.properties")); + loadprops(sysconfig, new File(cdir, "jsvc.properties")); } catch(SecurityException e) { logger.log(Level.WARNING, "no permssions to read from Tomcat conf directory while reading configuration", e); }