aboutsummaryrefslogtreecommitdiff
path: root/erecht.client.ss/data/conf/tomcat/win32/starttomcat.bat
diff options
context:
space:
mode:
Diffstat (limited to 'erecht.client.ss/data/conf/tomcat/win32/starttomcat.bat')
-rw-r--r--erecht.client.ss/data/conf/tomcat/win32/starttomcat.bat38
1 files changed, 38 insertions, 0 deletions
diff --git a/erecht.client.ss/data/conf/tomcat/win32/starttomcat.bat b/erecht.client.ss/data/conf/tomcat/win32/starttomcat.bat
new file mode 100644
index 000000000..6ba746a5c
--- /dev/null
+++ b/erecht.client.ss/data/conf/tomcat/win32/starttomcat.bat
@@ -0,0 +1,38 @@
+rem ----------------
+rem Java home
+rem ----------------
+
+rem JDK home directory (no trailing path separator)
+set JAVA_HOME=<Java JDK home directory>
+
+rem Java endorsed directory
+rem If not set, the catalina scripts default applies (%CATALINA_HOME%/common/endorsed)
+rem set JAVA_ENDORSED_DIRS=<Java endorsed directory>
+
+rem ----------------
+rem Tomcat config
+rem ----------------
+
+rem Tomcat 4.1.x home directory (no trailing path separator)
+set CATALINA_HOME=<Tomcat home directory>
+
+rem Tomcat 4.1.x base directory (no trailing path separator)
+rem If you do not work with bases, please set base directory to CATALINA_HOME
+set CATALINA_BASE=%CATALINA_HOME%
+
+rem ------------------------------------------
+rem E-Recht signature client for MOA SS config
+rem ------------------------------------------
+
+rem E-Recht signature client for MOA SS configuration properties file
+set MOA_SS_CLIENT_CFG_HOME=%CATALINA_BASE%\conf\moa-ss-erecht-client
+set PARAM_SSCLIENTCONFIG=-Dat.gv.egovernment.moa.ss.erechtclient.PropertiesLocation=%MOA_SS_CLIENT_CFG_HOME%\moa-ss-erecht-client.config.properties
+
+rem E-Recht signature client for MOA SS log4j configuration file
+set MOA_SS_CLIENT_LOG4J_HOME=%CATALINA_BASE%\conf\moa-ss-erecht-client
+set PARAM_LOGGING=-Dlog4j.configuration=file:%MOA_SS_CLIENT_LOG4J_HOME%\log4j.properties
+
+set CATALINA_OPTS=%PARAM_SSCLIENTCONFIG% %PARAM_LOGGING%
+
+cd %CATALINA_HOME%
+bin\catalina.bat run