rem ---------------------------------------------------------------------------------------------- rem Modify these entries according to your needs rem JDK home directory (no trailing path separator) set JAVA_HOME= rem Tomcat 4.1.x home directory (no trailing path separator) set CATALINA_HOME= 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% %CATALINA_HOME%\bin\tomcat -install "Jakarta Tomcat 4.1" %JAVA_HOME%\jre\bin\server\jvm.dll -Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar -Dcatalina.home=%CATALINA_HOME% %CATALINA_OPTS% -Djava.endorsed.dirs=%CATALINA_HOME%\common\endorsed -Xrs -start org.apache.catalina.startup.Bootstrap -params start -stop org.apache.catalina.startup.Bootstrap -params stop -out %CATALINA_HOME%\logs\stdout.log -err %CATALINA_HOME%\logs\stderr.log -current %CATALINA_HOME%