87.6 Putting the Monitor Configuration Changes into Effect

87.6.1 Accepting the Default Time Interval

By default, the Monitor Application checks the gwmonitor.cfg file for changes every 10 minutes. When it finds changes, it puts the changes into effect without restarting Tomcat. If you are satisfied to have your changes put into effect within this time interval, no action is required on your part after you edit the gwmonitor.cfg file.

87.6.2 Changing the Default Time Interval

You can change the time interval at which the Monitor Application checks the gwmonitor.cfg file for changes.

  1. Open the gwmonitor.cfg file in a text editor.

  2. Search to find the following line:

    Config.Update.check=10
  3. Change 10 to the number of minutes Monitor Application to wait before checking for changes to its configuration file

  4. Save the gwmonitor.cfg file.

87.6.3 Immediately Putting the Configuration Changes into Effect

You can also manually restart Tomcat in order to put the changes into effect immediately.

SLES 11:

                        rcgrpwise-tomcat8 stop
                         rcgrpwise-tomcat8 start
                      

Windows:

  1. At the Windows server, click Start > Administrative Tools > Services.

  2. Right-click Tomcat 8, and then click Restart.