From 4915f0a2633aaba22ad5cabab8589ced906126ab Mon Sep 17 00:00:00 2001 From: knowcenter Date: Fri, 1 Jun 2007 08:36:30 +0000 Subject: minor changes git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@121 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../at/knowcenter/wag/egov/egiz/web/PdfASServletContextListener.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/web/PdfASServletContextListener.java b/src/main/java/at/knowcenter/wag/egov/egiz/web/PdfASServletContextListener.java index 0fafca4..954bcce 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/web/PdfASServletContextListener.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/web/PdfASServletContextListener.java @@ -68,10 +68,12 @@ public class PdfASServletContextListener implements ServletContextListener e.printStackTrace(); } - if (work_dir != null) + if (work_dir != null && work_dir.length() > 0) { + logger.info("The PDF-AS work-dir context parameter is present (and not empty)."); base_dir = work_dir; } + logger.info("The PDF-AS application will be initialized for the directory: " + base_dir); SettingsReader.initializeForWeb(base_dir); PropertyConfigurator.configure(SettingsReader.CONFIG_PATH + "log4j.properties"); -- cgit v1.2.3