From 5f8b64843b738be1132d1795bc5ea41feb9bf62a Mon Sep 17 00:00:00 2001 From: ymlam Date: Tue, 20 Aug 2019 11:40:59 -0400 Subject: [PATCH] More debugging statement using System.out.println --- src/main/java/altk/comm/engine/CommEngine.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/altk/comm/engine/CommEngine.java b/src/main/java/altk/comm/engine/CommEngine.java index 7a3e886..46cf8f0 100644 --- a/src/main/java/altk/comm/engine/CommEngine.java +++ b/src/main/java/altk/comm/engine/CommEngine.java @@ -106,9 +106,12 @@ public abstract class CommEngine extends HttpServlet ServletContext servletContext = getServletContext(); confDirPath = servletContext.getInitParameter(getConfDirContextName()); + System.out.println("Config directory is configured to be '" + confDirPath + "'. Make sure it and its content are readable by user 'tomcat'"); runtimeDirPath = servletContext.getInitParameter(getRunTimeDirContextName()); - File propertiesFile = new File(confDirPath + "/properties"); + System.out.println("Runtime directory is configured to be '" + runtimeDirPath + "'. Make sure it and its content are readable by user 'tomcat'"); + File propertiesFile = new File(confDirPath + "/properties"); + // Configure log4j using log4j.properties file, \ // sibling to the engine properties file. // This change is backward compatible with placing the log4j.properties file in