Skip to main content
Question

Edit memory for tomcat, can't get it to start afterwards

  • December 5, 2018
  • 2 replies
  • 2 views

Forum|alt.badge.img+7

Downloaded the file setenv.sh to change tomcat memory.

original:
export JAVA_OPTS="$JAVA_OPTS -Xmx1024"

changed to:
export JAVA_OPTS="$JAVA_OPTS -Xmx8192"

Uploaded the file after change and tried to restart:
sudo /etc/init.d/jamf.tomcat8 restart

Get the following while trying to restart/start:
Restarting jamf.tomcat8 (via systemctl): jamf.tomcat8.serviceJob for jamf.tomcat8.service failed because the control process exited with error code.
See "systemctl status jamf.tomcat8.service" and "journalctl -xe" for details.
failed!

Does anyone know what I did wrong or what I can do to get it to work again?

2 replies

Forum|alt.badge.img+7
  • Author
  • Contributor
  • December 5, 2018

Solved! Permission issue.


Forum|alt.badge.img
  • New Contributor
  • August 10, 2021

hi there, can you tell me what permissions you changed please?