Overview
You need to restart your Service Gateway environment, such as after making changes to your configuration files, for the changes to take effect. You want to know the correct process for stopping or starting your Service Gateway services.
Solution
When you need to restart the Service Gateway processes, you must do so in the correct order to avoid any errors or unexpected behavior. When shutting down the processes, you should do so in the reverse order to the startup process.
While it is generally safe to restart the server, remember that this process can take some time, so it may be best performed on production servers after regular business hours.
Note: If you need to restart the server due to making changes to a particular configuration file, you can likely restart only the processes impacted by the configuration files. For example:
- Editing the ACS configuration only requires a restart of the ACS server.
- Editing the servicegateway-domain.xml requires a restart of the ACS servers, the timers, and the application server. However, the admin console does not need to be restarted.
When in doubt, you can restart all of the processes.
The exact installation directory path for each component may vary within your environment. In all cases, the start/stop files are located in the etc
directory for each one of the components. Execute the commands below in the following sequence, adjusting for your directory path as needed.
Starting the Processes
- Admin Console
# cd /usr/local/sprt/<AdminConsole-directory>/servicegateway/etc/
# ./sprt_jboss start - Application Server
# cd /usr/local/sprt/<AppServer-directory>/servicegateway/etc/
# ./sprt_jboss start - Application Timer
# ./sprt_timer start
- ACS Server
# cd /usr/local/sprt/<ACSServer-directory>/servicegateway/etc/
# ./sprt_acs start
Stopping the Processes
- ACS Server
# cd /usr/local/sprt/<ACSServer-directory>/servicegateway/etc/
# ./sprt_acs stop - Application Timer
# cd /usr/local/sprt/<AppServer-directory>/servicegateway/etc/
# ./sprt_timer stop - Application Server
# ./sprt_jboss stop
- Admin Console
# cd /usr/local/sprt/<AdminConsole-directory>/servicegateway/etc/
# ./sprt_jboss stop