Skip to main content
Question

Retarting Tomcat 10.11

  • April 4, 2019
  • 7 replies
  • 12 views

Forum|alt.badge.img+11

I recently updated to 10.11 and now I cannot figure out how to restart Tomcat. I used to be able to just "sudo /etc/init.d/jamf.tomcat8 restart" that now returns a 0 and doesn't work. I tried a "sudo jamf-pro server restart" too. That says "successful" but actually didn't restart the service! For now I'm just rebooting.

Any ideas?

7 replies

Hugonaut
Forum|alt.badge.img+15
  • Esteemed Contributor
  • April 4, 2019

you can always unload & reload tomcat to stop & start as well

to stop tomcat

sudo launchctl unload /Library/LaunchDaemons/com.jamfsoftware.tomcat.plist

to start it back up

sudo launchctl load /Library/LaunchDaemons/com.jamfsoftware.tomcat.plist

heres a knowledgebase article - https://www.jamf.com/jamf-nation/articles/117/starting-and-stopping-tomcat


Forum|alt.badge.img+11
  • Author
  • Valued Contributor
  • April 4, 2019

Sorry should have said this was ubuntu. I have tried all the Linux commands in that KB.


sharriston
Forum|alt.badge.img+10
  • Valued Contributor
  • April 4, 2019

What about the jamf-pro cli

jamf-pro server restart

Forum|alt.badge.img+14
  • Honored Contributor
  • April 4, 2019

Have you tried:

sudo service tomcat8 restart

What version of Tomcat is installed?


Forum|alt.badge.img+11
  • Author
  • Valued Contributor
  • April 4, 2019

After doing some more digging...If I do a /etc/init.d/jamf.tomcat8 status it returns a 'not running'. However the site is up.


Forum|alt.badge.img+11
  • Author
  • Valued Contributor
  • April 4, 2019

/usr/local/jss/tomcat/bin/version.sh returns

8.5.38.0

I have always used the jamfproinstaller.run files. Nothing fancy.


Forum|alt.badge.img+7
  • Contributor
  • April 4, 2019

What happen if you restart ubuntu?