Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Restart Sequence if Both Tomcat and PostgreSQL Need to be Restarted : Always stop Tomcat before stopping PostgreSQL, and start PostgreSQL before starting Tomcat. This ensures that the application has a properly initialized database to connect to.

Tomcat servcie service commands (4.3.x)

Command to check status of Tomcat service
service msa-tomcat status

image-20240909-043636.png

Command to Restart Tomcat
service msa-tomcat restart
Command to Stop Tomcat
systemctl stop msa-tomcat
Command to Start Tomcat
systemctl start msa-tomcat

PostgreSQL servcie service commands (4.3.x)

Command to check status of PostgreSQL service
service postgresql-13 status

image-20240909-043531.png

Command to Restart PostgreSQL
service postgresql-13 restart
Command to Stop PostgreSQL
systemctl stop postgresql-13
Command to Start PostgreSQL
systemctl start postgresql-13

...