Format of the ShutdownApplication configuration file
In order for the ShutdownApplication to be able to send an email to one or more recipients when the server shuts down, the corresponding information has to be specified in a configuration file. This file must be in the ./conf directory of the Integration Server and must be named shutdown.properties.
The file is a so-called Java properties file. Below is an example of such a file (without comments).
recipients=
mailserver=
user=
password=
sender=
subject= Shutdown of IS
The parameters have the following meaning.
Parameter |
Description |
recipients |
The email addresses of recipients to be notified by email when the server shuts down. If you want to specify more than one address, these are separated by a semicolon (;). |
mailserver |
The SMTP server to use for sending the email(s). It is not possible to use any another port than 25 to connect. |
user |
If an authentication is necessary when sending the email, the user name to be used can be specified here. |
password |
If an authentication is necessary when sending the email, the password to be used can be specified here. |
sender |
The email address to be used as sender for the email to be sent. |
subject |
The subject to appear in the email. |
After installation, the conf directory of the Integration Server contains a sample file in which all possible settings are already available and described with corresponding comments. The file can be created and edited using any conventional text editor. The type of line break used is not important. This means that it is possible to transfer a configuration file written on a Unix system to a Windows system without any changes, without having to worry about it being processed incorrectly by the ShutdownApplication.