Always climbing on the learning curve and trying to take it to the next level 😎
Just installing apache-tomcat-9.0.0.M3 (on Windows 7), trying to get it operational under cygwin.
I set these (historic) environment variables through the Control Panel:
CATALINA_HOME=%PROGRAMFILES%apache-tomcat-9.0.0.M3 CATALINA_BASE=%USERPROFILE%tomcat
But early experiences with Tomcat under cygwin made me better set them in the shell (resp. in ~/.bash_profile) like this:
export CATALINA_HOME='/cygdrive/c/Program Files/apache-tomcat-9.0.0.M3' export CATALINA_BASE=/cygdrive/c/Users/hayekjoc/tomcat
I also need this:
mkdir $CATALINA_BASE/{bin,conf,logs,temp} cp --arch "$CATALINA_HOME/conf/server.xml" $CATALINA_BASE/conf/server.xml
Now I can start Tomcat like this:
"$CATALINA_HOME/bin/catalina.sh" start
And I can surf to my Tomcat at http://localhost:8080 — but so far I don’t see anything there — although the log file in $CATALINA_BASE/logs/ says there was an access.
I am going to try this next: