Stopping and Restarting Tomcat

Stopping and Restarting Tomcat

To stop and restart Tomcat:

1. SSH into your instance using your AWS private key and the user name ec2-user.
2. Stop the Tomcat service using the following command:

sudo service tomcat7 stop

3. Restart the Tomcat service:

sudo service tomcat7 start

Version: 
Feedback