Starting and Stopping Tomcat in macOS and Linux for JamfPro Server

Starting and Stopping Tomcat in macOS and Linux for JamfPro Server

Starting and stopping Tomcat 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.

On macOS:
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

On Linux:
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

Leave a Comment