aboutsummaryrefslogtreecommitdiff
path: root/spss.server/data/deploy/tomcat/win32/startTomcat.bat
diff options
context:
space:
mode:
authorgregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2003-11-06 16:08:07 +0000
committergregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2003-11-06 16:08:07 +0000
commit44b53ba3eeb5ef270768ae03975401f8205aad93 (patch)
tree54f835d94194f8310dc1309558bb5217512ef4c7 /spss.server/data/deploy/tomcat/win32/startTomcat.bat
parent8e130b61aadcd2b5beda9caec21dbd0d2dc68028 (diff)
downloadmoa-id-spss-44b53ba3eeb5ef270768ae03975401f8205aad93.tar.gz
moa-id-spss-44b53ba3eeb5ef270768ae03975401f8205aad93.tar.bz2
moa-id-spss-44b53ba3eeb5ef270768ae03975401f8205aad93.zip
Start-, Stop- und Install-Scripts für Tomcat unter W32 hinzugefügt
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@27 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'spss.server/data/deploy/tomcat/win32/startTomcat.bat')
-rw-r--r--spss.server/data/deploy/tomcat/win32/startTomcat.bat28
1 files changed, 28 insertions, 0 deletions
diff --git a/spss.server/data/deploy/tomcat/win32/startTomcat.bat b/spss.server/data/deploy/tomcat/win32/startTomcat.bat
new file mode 100644
index 000000000..751d564a4
--- /dev/null
+++ b/spss.server/data/deploy/tomcat/win32/startTomcat.bat
@@ -0,0 +1,28 @@
+rem ----------------------------------------------------------------------------------------------
+rem Modify these entries according to your needs
+
+rem JDK home directory (no trailing path separator)
+set JAVA_HOME=<jdk home directory>
+
+rem Tomcat 4.1.x home directory (no trailing path separator)
+set CATALINA_HOME=<Tomcat 4.1.x home directory>
+
+rem MOA SP configuration home directory (no trailing path separator)
+set MOA_SPSS_CFG_HOME=%CATALINA_HOME%\conf\moa-spss
+
+rem ----------------------------------------------------------------------------------------------
+
+set PARAM_SPSSCONFIG=-Dmoa.spss.server.configuration=%MOA_SPSS_CFG_HOME%\MOA-SPSSConfiguration.xml
+set PARAM_LOGGING=-Dlog4j.configuration=file:%MOA_SPSS_CFG_HOME%\log4j.properties
+set PARAM_NODEID=-Dmoa.node-id=Node1
+set PARAMS_MOA=%PARAM_SPSSCONFIG% %PARAM_LOGGING% %PARAM_NODEID%
+
+rem set PARAM_TRUST_STORE=-Djavax.net.ssl.trustStore=truststore.jks
+rem set PARAM_TRUST_STORE_PASS=-Djavax.net.ssl.trustStorePassword=changeit
+rem set PARAM_TRUST_STORE_TYPE=-Djavax.net.ssl.trustStoreType=jks
+rem set PARAMS_SSL=%PARAM_TRUST_STORE% %PARAM_TRUST_STORE_PASS% %PARAM_TRUST_STORE_TYPE%
+
+set CATALINA_OPTS=%PARAMS_MOA% %PARAMS_SSL%
+
+cd %CATALINA_HOME%
+bin\catalina.bat start \ No newline at end of file