From 1c900609d64445040e8c5bdbfa01ae1a0f563f43 Mon Sep 17 00:00:00 2001 From: gregor Date: Wed, 28 Feb 2007 13:17:57 +0000 Subject: Initial commit git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@806 d688527b-c9ab-4aba-bd8d-4036d912da1d --- erecht.client.ss/data/conf/tomcat/server.xml | 147 +++++++++++++++++++++ erecht.client.ss/data/conf/tomcat/unix/moa-env.sh | 11 ++ .../data/conf/tomcat/win32/starttomcat.bat | 38 ++++++ .../data/conf/tomcat/win32/stoptomcat.bat | 24 ++++ 4 files changed, 220 insertions(+) create mode 100644 erecht.client.ss/data/conf/tomcat/server.xml create mode 100644 erecht.client.ss/data/conf/tomcat/unix/moa-env.sh create mode 100644 erecht.client.ss/data/conf/tomcat/win32/starttomcat.bat create mode 100644 erecht.client.ss/data/conf/tomcat/win32/stoptomcat.bat (limited to 'erecht.client.ss/data/conf/tomcat') diff --git a/erecht.client.ss/data/conf/tomcat/server.xml b/erecht.client.ss/data/conf/tomcat/server.xml new file mode 100644 index 000000000..0b3d040cf --- /dev/null +++ b/erecht.client.ss/data/conf/tomcat/server.xml @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/erecht.client.ss/data/conf/tomcat/unix/moa-env.sh b/erecht.client.ss/data/conf/tomcat/unix/moa-env.sh new file mode 100644 index 000000000..c839bf214 --- /dev/null +++ b/erecht.client.ss/data/conf/tomcat/unix/moa-env.sh @@ -0,0 +1,11 @@ +# E-Recht signature client for MOA SS configuration properties file +MOA_SS_CLIENT_CFG_HOME=$CATALINA_BASE/conf/moa-ss-erecht-client +PARAM_SSCLIENTCONFIG=-Dat.gv.egovernment.moa.ss.erechtclient.PropertiesLocation=$MOA_SS_CLIENT_CFG_HOME/moa-ss-erecht-client.config.properties + +# E-Recht signature client for MOA SS log4j configuration file +MOA_SS_CLIENT_LOG4J_HOME=$CATALINA_BASE/conf/moa-ss-erecht-client +PARAM_LOGGING=-Dlog4j.configuration=file:$MOA_SS_CLIENT_LOG4J_HOME/log4j.properties + +export CATALINA_OPTS="$PARAM_SSCLIENTCONFIG $PARAM_LOGGING" + +echo CATALINA_OPTS=$CATALINA_OPTS diff --git a/erecht.client.ss/data/conf/tomcat/win32/starttomcat.bat b/erecht.client.ss/data/conf/tomcat/win32/starttomcat.bat new file mode 100644 index 000000000..6ba746a5c --- /dev/null +++ b/erecht.client.ss/data/conf/tomcat/win32/starttomcat.bat @@ -0,0 +1,38 @@ +rem ---------------- +rem Java home +rem ---------------- + +rem JDK home directory (no trailing path separator) +set JAVA_HOME= + +rem Java endorsed directory +rem If not set, the catalina scripts default applies (%CATALINA_HOME%/common/endorsed) +rem set JAVA_ENDORSED_DIRS= + +rem ---------------- +rem Tomcat config +rem ---------------- + +rem Tomcat 4.1.x home directory (no trailing path separator) +set CATALINA_HOME= + +rem Tomcat 4.1.x base directory (no trailing path separator) +rem If you do not work with bases, please set base directory to CATALINA_HOME +set CATALINA_BASE=%CATALINA_HOME% + +rem ------------------------------------------ +rem E-Recht signature client for MOA SS config +rem ------------------------------------------ + +rem E-Recht signature client for MOA SS configuration properties file +set MOA_SS_CLIENT_CFG_HOME=%CATALINA_BASE%\conf\moa-ss-erecht-client +set PARAM_SSCLIENTCONFIG=-Dat.gv.egovernment.moa.ss.erechtclient.PropertiesLocation=%MOA_SS_CLIENT_CFG_HOME%\moa-ss-erecht-client.config.properties + +rem E-Recht signature client for MOA SS log4j configuration file +set MOA_SS_CLIENT_LOG4J_HOME=%CATALINA_BASE%\conf\moa-ss-erecht-client +set PARAM_LOGGING=-Dlog4j.configuration=file:%MOA_SS_CLIENT_LOG4J_HOME%\log4j.properties + +set CATALINA_OPTS=%PARAM_SSCLIENTCONFIG% %PARAM_LOGGING% + +cd %CATALINA_HOME% +bin\catalina.bat run diff --git a/erecht.client.ss/data/conf/tomcat/win32/stoptomcat.bat b/erecht.client.ss/data/conf/tomcat/win32/stoptomcat.bat new file mode 100644 index 000000000..0c33e43ee --- /dev/null +++ b/erecht.client.ss/data/conf/tomcat/win32/stoptomcat.bat @@ -0,0 +1,24 @@ +rem ---------------- +rem Java home +rem ---------------- + +rem JDK home directory (no trailing path separator) +set JAVA_HOME= + +rem Java endorsed directory +rem If not set, the catalina scripts default applies (%CATALINA_HOME%/common/endorsed) +rem set JAVA_ENDORSED_DIRS= + +rem ---------------- +rem Tomcat config +rem ---------------- + +rem Tomcat 4.1.x home directory (no trailing path separator) +set CATALINA_HOME= + +rem Tomcat 4.1.x base directory (no trailing path separator) +rem If you do not work with bases, please set base directory to CATALINA_HOME +set CATALINA_BASE=%CATALINA_HOME% + +cd %CATALINA_HOME% +bin\catalina.bat stop \ No newline at end of file -- cgit v1.2.3