aboutsummaryrefslogtreecommitdiff
path: root/erecht.client.ss/data/conf/tomcat/win32/starttomcat.bat
diff options
context:
space:
mode:
authorgregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2007-02-28 13:17:57 +0000
committergregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2007-02-28 13:17:57 +0000
commit1c900609d64445040e8c5bdbfa01ae1a0f563f43 (patch)
tree732cceb74a72b1d638835e632a59dfc38f358198 /erecht.client.ss/data/conf/tomcat/win32/starttomcat.bat
parentc034f4156169801d44308e8e505bb9c7e0cc33fb (diff)
downloadmoa-id-spss-1c900609d64445040e8c5bdbfa01ae1a0f563f43.tar.gz
moa-id-spss-1c900609d64445040e8c5bdbfa01ae1a0f563f43.tar.bz2
moa-id-spss-1c900609d64445040e8c5bdbfa01ae1a0f563f43.zip
Initial commit
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@806 d688527b-c9ab-4aba-bd8d-4036d912da1d
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