aboutsummaryrefslogtreecommitdiff
path: root/spss.server/data/deploy/tomcat/moa-env.bat
diff options
context:
space:
mode:
Diffstat (limited to 'spss.server/data/deploy/tomcat/moa-env.bat')
-rw-r--r--spss.server/data/deploy/tomcat/moa-env.bat14
1 files changed, 14 insertions, 0 deletions
diff --git a/spss.server/data/deploy/tomcat/moa-env.bat b/spss.server/data/deploy/tomcat/moa-env.bat
new file mode 100644
index 000000000..aa1ad9432
--- /dev/null
+++ b/spss.server/data/deploy/tomcat/moa-env.bat
@@ -0,0 +1,14 @@
+@echo off
+
+set MOA_START=%~dp0
+
+set CONFIG_OPT=-Dmoa.spss.server.configuration=%MOA_START%conf\moa-spss\MOA-SPSSConfiguration.xml
+set LOGGING_OPT=-Dlog4j.configuration=file:/%MOA_START%conf\moa-spss\log4j.properties
+rem set NODE_ID_OPT=-Dmoa.node-id=node1
+rem set TRUST_STORE_OPT=-Djavax.net.ssl.trustStore=truststore.jks
+rem set TRUST_STORE_PASS_OPT=-Djavax.net.ssl.trustStorePassword=changeit
+rem set TRUST_STORE_TYPE_OPT=-Djavax.net.ssl.trustStoreType=jks
+
+set CATALINA_OPTS=%CONFIG_OPT% %LOGGING_OPT% %NODE_ID_OPT% %TRUST_STORE_OPT% %TRUST_STORE_PASS_OPT% %TRUST_STORE_TYPE_OPT%
+
+echo CATALINA_OPTS=%CATALINA_OPTS% \ No newline at end of file