Starting and Stopping Tomcat in macOS and Linux for JamfPro Server
Starting and stopping Tomcat in macOS or Linux is an essential skill when using JamfPro servers, especially in a clustered environment. Knowing these commands and having them at your fingertips are important for administrators on these systems. You may want to bookmark this page or copy and paste these to your notes for easy access.
1. Open Terminal on the JSS host server.
2. To unload the Tomcat web application process:
sudo launchctl unload /Library/LaunchDaemons/com.jamfsoftware.tomcat.plist
3. To reload and launch the Tomcat web application process:
sudo launchctl load /Library/LaunchDaemons/com.jamfsoftware.tomcat.plist
If you installed the JSS using the JSS installer, execute the following command:
sudo /etc/init.d/jamf.tomcat8 restart
If you installed the JSS manually, execute the following command:
service tomcat8 restart or service jamf.tomcat8 restart
Check out this discussion thread on Jamf-Nation to find out more:
About Apache Tomcat
Tomcat is a web server and a Servlet/JavaServer Pages container. It is often used as an application server for strictly web-based applications but does not include the entire suite of capabilities that a Java EE application server would supply. Apache Tomcat software powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations.
Find out more at: http://tomcat.apache.org
Apache Tomcat Versions Installed by the Jamf Pro Installer
Jamf Pro installs different versions of Apache Tomcat. Check this link to find out which version should be installed with the version of Jamf Pro running in your environment.