@echo off
rem rem Customize a personal instance of %DLC%/servers/tomcat rem This file should be located in your %WRKDIR% directory where rem it will be found by %DLC%/bin/protc.bat rem if not "%WRKDIR%"=="" goto DOSET echo "environment variable WRKDIR is not defined" goto END :DOSET rem OpenEdge specific Tomcat customizations rem set OPENEDGE_HTTP_PORT=8980 set OPENEDGE_SHUTDOWN_PORT=8908 rem set OPENEDGE_HTTPS_PORT=18943 rem set OPENEDGE_AJP13_PORT=18909 set OPENEDGE_WEBAPPS=%WRKDIR%\webapps rem Set OPENEDGE_REST_JARS only if you want to do compact WAR deployment rem set OPENEDGE_REST_JARS=%DLC%/rest/lib/*.jar rem Override standard Tomcat (catalina) variables rem set CATALINA_TMPDIR=%WRKDIR% set CATALINA_OUT=%WRKDIR%/catalina.out set CATALINA_PID=%WRKDIR%/tomcat.pid :END |
#!/bin/sh
## Customized a personal instance of $DLC/servers/tomcat # This file should be located in your $WRKDIR directory where # it will be found by $DLC/bin/protc #if [ "${WRKDIR}" = "" ] then echo "environment variable WRKDIR is not defined" exit 1 fi ## OpenEdge specific Tomcat customizations #OPENEDGE_HTTP_PORT=8980 ; export OPENEDGE_HTTP_PORT OPENEDGE_SHUTDOWN_PORT=8908 ; export OPENEDGE_SHUTDOWN_PORT #OPENEDGE_AJP13_PORT=8909 ; export OPENEDGE_AJP13_PORT # OPENEDGE_HTTPS_PORT=8943 ; export OPENEDGE_HTTPS_PORT OPENEDGE_WEBAPPS="$WRKDIR/webapps" ; export OPENEDGE_WEBAPPS # OPENEDGE_REST_JARS="$DLC/rest/lib/*.jar" ; export OPENEDGE_REST_JARS ## Override standard Tomcat (catalina) variables #CATALINA_TMPDIR="$WRKDIR" ; export CATALINA_TMPDIR CATALINA_OUT="$WRKDIR/catalina.out" ; export CATALINA_OUT CATALINA_PID="$WRKDIR/tomcat.pid" ; export CATALINA_PID ## Add JAVA options to what is set by catalina.sh and setenv.sh ##JAVA_OPTS="" ; export JAVA_OPTS |