I'm trying to run a local instance of an application that runs on Tomcat 8.5.
Remotely the application runs on a Linux machine, but I need to specify the CATALINA_OPTS in a Windows batch file.
How would I specify (or rewrite) the following options in a batch file?
CATALINA_OPTS="$CATALINA_OPTS -D<identifier>=<path-to-servlet-properties>"
export CATALINA_OPTS
echo "Using CATALINA_OPTS: $CATALINA_OPTS"
I have tried the following:
set CATALINA_OPTS="%CATALINA_OPTS% <identifier>=<path-to-servlet-properties>"
exit /b 0