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

jonros
Contributor II

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 2

jonros
Contributor II

Solved! Permission issue.

chitt_bhardwa
New Contributor

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