I found the below difference:
catalina.sh run ---> Starting tomcat in foreground.
startup.sh ---> Starting tomcat in background while writing response in log file.
I am unable to find the comparison with this command:
It also starts the tomcat service correctly but is there any difference with the other commands?
If you read the comments in these scripts, you'll see what they are supposed to do.
catalina.sh
- does everythingstartup.sh
- calls catalina.sh start
tomcat8.sh
- doesn't existYou can start Tomcat in the foreground like this:
$ $CATALINA_HOME/bin/catalina.sh run
Or you can start it in the background like this:
$ $CATALINA_HOME/bin/catalina.sh start
There are other verbs that catalina.sh
accepts. You can find those by running:
$ $CATALINA_BASE/bin/catalina.sh -h
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With