and restart of tomcat should have to happen with specific user id.
1 of 1 people found this helpful
Discussion successfully moved to Remedy AR System
It seems more a Unix / Linux question, maybe those threads would help?
basically you need to create tomcat script (Init script): Some references:
What I did:
1. Created service file in systemd/system folder
Description=Apache Tomcat Web Application Container
Environment='CATALINA_OPTS=-Xms512M -Xmx1024M -server -XX:+UseParallelGC'
ExecStop=/bin/kill -15 $MAINPID
2. Than try triggering it using : sudo systemctl status tomcat.service
got Failed at step EXEC spawning /tomcat/bin/startup.sh: Permission denied
I even gave -x permision to script didn't work than tried by giving 777 to all directories coming in path like /tomcet , /tomcat/bin and/tomcat/bin/startup.sh but its of no use.