Skip to content

Instantly share code, notes, and snippets.

@yulewei
Created March 19, 2018 01:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yulewei/f9604bb7e83484fafc48c6c75e6a3fec to your computer and use it in GitHub Desktop.
Save yulewei/f9604bb7e83484fafc48c6c75e6a3fec to your computer and use it in GitHub Desktop.
$ ./catalina.sh
Using CATALINA_BASE: /Users/yulewei/apache-tomcat-8.0.26
Using CATALINA_HOME: /Users/yulewei/apache-tomcat-8.0.26
Using CATALINA_TMPDIR: /Users/yulewei/apache-tomcat-8.0.26/temp
Using JRE_HOME: /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home
Using CLASSPATH: /Users/yulewei/apache-tomcat-8.0.26/bin/bootstrap.jar:/Users/yulewei/apache-tomcat-8.0.26/bin/tomcat-juli.jar
Usage: catalina.sh ( commands ... )
commands:
debug Start Catalina in a debugger
debug -security Debug Catalina with a security manager
jpda start Start Catalina under JPDA debugger
run Start Catalina in the current window
run -security Start in the current window with security manager
start Start Catalina in a separate window
start -security Start in a separate window with security manager
stop Stop Catalina, waiting up to 5 seconds for the process to end
stop n Stop Catalina, waiting up to n seconds for the process to end
stop -force Stop Catalina, wait up to 5 seconds and then use kill -KILL if still running
stop n -force Stop Catalina, wait up to n seconds and then use kill -KILL if still running
configtest Run a basic syntax check on server.xml - check exit code for result
version What version of tomcat are you running?
Note: Waiting for the process to end and use of the -force option require that $CATALINA_PID is defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment