kevinlinxp
12/31/2016 - 8:47 AM

Tomcat:startup

Tomcat:startup

#Tomcat will run in background:
${CATALINA_HOME}/bin/startup.sh

#Tomcat will run in background, and use tail to view the output in foreground:
${CATALINA_HOME}/bin/startup.sh; tail -f tomcat/logs/catalina.out  

#Tomcat stays in foreground this way. If you want to shut it down, Ctrl-C in your console windown will do the trick.
${CATALINA_HOME}/bin/catalina.sh run