aboutsummaryrefslogtreecommitdiff
path: root/spss.server/data/deploy/tomcat/moa-env.sh
diff options
context:
space:
mode:
Diffstat (limited to 'spss.server/data/deploy/tomcat/moa-env.sh')
-rw-r--r--spss.server/data/deploy/tomcat/moa-env.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/spss.server/data/deploy/tomcat/moa-env.sh b/spss.server/data/deploy/tomcat/moa-env.sh
new file mode 100644
index 000000000..01d2605c2
--- /dev/null
+++ b/spss.server/data/deploy/tomcat/moa-env.sh
@@ -0,0 +1,12 @@
+MOA_START=`pwd`
+
+CONFIG_OPT=-Dmoa.spss.server.configuration=$MOA_START/conf/moa-spss/MOA-SPSSConfiguration.xml
+LOGGING_OPT=-Dlog4j.configuration=file:$MOA_START/conf/moa-spss/log4j.properties
+# NODE_ID_OPT=-Dmoa.node-id=node1
+# TRUST_STORE_OPT=-Djavax.net.ssl.trustStore=truststore.jks
+# TRUST_STORE_PASS_OPT=-Djavax.net.ssl.trustStorePassword=changeit
+# TRUST_STORE_TYPE_OPT=-Djavax.net.ssl.trustStoreType=jks
+
+export 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