aboutsummaryrefslogtreecommitdiff
path: root/spss.slinterface/conf/tomcat/unix/moa-env.sh
diff options
context:
space:
mode:
Diffstat (limited to 'spss.slinterface/conf/tomcat/unix/moa-env.sh')
-rw-r--r--spss.slinterface/conf/tomcat/unix/moa-env.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/spss.slinterface/conf/tomcat/unix/moa-env.sh b/spss.slinterface/conf/tomcat/unix/moa-env.sh
new file mode 100644
index 000000000..0e5ca3167
--- /dev/null
+++ b/spss.slinterface/conf/tomcat/unix/moa-env.sh
@@ -0,0 +1,16 @@
+# MOA SL configuration properties file
+MOA_SL_CFG_HOME=$CATALINA_BASE/conf/moa-sl
+PARAM_SLCONFIG=-Dat.gv.egovernment.moa.spss.slinterface.PropertiesLocation=$MOA_SL_CFG_HOME/moa-sl.properties
+
+# MOA SL log4j configuration file
+MOA_SL_LOG4J_HOME=$CATALINA_BASE/conf/log4j
+PARAM_LOGGING=-Dlog4j.configuration=file:$MOA_SL_LOG4J_HOME/log4j.properties
+
+# SSL options, if Tomcat should be used for checking client authenticity
+# PARAM_TRUST_STORE=-Djavax.net.ssl.trustStore=truststore.jks
+# PARAM_TRUST_STORE_PASS=-Djavax.net.ssl.trustStorePassword=changeit
+# PARAM_TRUST_STORE_TYPE=-Djavax.net.ssl.trustStoreType=jks
+
+export CATALINA_OPTS="$PARAM_SLCONFIG $PARAM_LOGGING $ $PARAM_TRUST_STORE $PARAM_TRUST_STORE_PASS $PARAM_TRUST_STORE_TYPE"
+
+echo CATALINA_OPTS=$CATALINA_OPTS