User Tools
Writing /app/www/public/data/meta/databaseandnetworkmanagement/restarting_application_container.meta failed
databaseandnetworkmanagement:restarting_application_container
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| databaseandnetworkmanagement:restarting_application_container [2016/09/22 17:12] – created mmcc | databaseandnetworkmanagement:restarting_application_container [2021/06/25 10:09] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Restarting An Application Container ====== | ||
| + | Author: Sophie Renshaw | ||
| + | |||
| + | ===== Introduction ===== | ||
| + | |||
| + | In various cases, such as in the event of an outage, or during an upgrade, it is necessary to restart (bounce) an application container. This page describes the process of restarting an application container successfully. | ||
| + | |||
| + | It is important to note that if you are restarting a container in the event of an outage that you run the outage scripts as per the following page: [[support: | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ===== Steps to restart container ===== | ||
| + | |||
| + | For each app handler make sure that you have the application and catalina logs open while performing the restart | ||
| + | The catalina logs can be found in / | ||
| + | The application logs can be found in / | ||
| + | The shutdown and startup scripts are located in the / | ||
| + | Shutdown (use sudo for SNMP Manager): | ||
| + | cd / | ||
| + | ./ | ||
| + | Check that application has stopped using logs and process list | ||
| + | ps -edf | grep java | ||
| + | ps -edf | grep -i Ticketer (-i for case insensitive) | ||
| + | Once process list shows no process listed for the application, | ||
| + | If process list is still showing application after shutdown it may be necessary to kill the process: | ||
| + | sudo kill -9 <PROCESS ID> | ||
| + | Startup (use sudo for SNMP Manager): | ||
| + | cd / | ||
| + | ./ | ||
| + | Check the logs for any errors | ||
| + | Application has been successfully restarted and should be accessible to all users | ||