Support > Administrator's guide (R7) > Switch maintenance mode
ja | en

It is used when the administrator performs maintenance. If you enter the maintenance mode, users other than the administrator can not log on.

You can switch the state of the web application. In "Maintenance mode", you will not be able to log on using an account other than the administrator authority. This is useful when exporting data or preventing users from doing operations when importing.

Figure 1 Maintenance Mode Switch Button

When switching maintenance screens, you can select the following options.

Figure 2 Selecting Options

Force logging out of logged on account

This will invalidate all logons (except yourself).If you have opened the update screen, the lock will also be canceled.However, processing in the middle of updating CSV · Excel upload will continue.

If you have logged on account, do not enter Maintenance mode

In this case, an error message saying that many accounts are logged on is displayed and processing is interrupted.

Switch the mode while leaving the logged on account

The user who is logged on knows that the title turns red as shown in Fig. 2, and enters the maintenance mode.

Change "current state" to "maintenance mode". Then, the title part is displayed in red and you can see that it is in maintenance mode at a glance.(FIGS. 3 and 4)

Figure 3 State in Maintenance Mode
Figure 4 The title part is displayed in red on the other screens

Operation restriction

In the maintenance mode, if you try to log on as a user other than the administrator authority, the screen shown in Fig. 5 will be displayed. If a user other than the administrator's authority has already logged on, the connection is forcibly canceled, so if you try to operate continuously, the screen shown in Figure 5 will be displayed as well.

Figure 5 Message indicating system is in maintenance mode

We will use the job to enter the maintenance mode.For details, see "Job management> Enable Maintenance ModePlease read.

The file that describes the message in the maintenance mode is provided as $ (DEVHOME) \ env \ webpage \ system \ underMaintenance.html. After modifying this file and rebuilding it, you can prepare the original maintenance mode screen.

If you want to make changes to a web application that is already running, modify wagbyapp \ webapps \ $ (APPNAME) \ system \ underMaintenance.html directly.

Windows OS

By writing in wagbyapp \ bin \ setenv.bat as follows, you can enable maintenance mode at Tomcat startup.

CATALINA_OPTS=..(省略).. "-Duser.timezone=Asia/Tokyo" "-Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false" "-Dwagby.startupmode=maintenance"

I added wagby.startupmode = maintenance to the end.Please enclose it with double quotation marks.

Unix OS

By writing in wagbyapp \ bin \ setenv.sh as follows, you can enable maintenance mode at Tomcat startup.

CATALINA_OPTS=..(省略).. -Duser.timezone=Asia/Tokyo\ -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false\ -Dwagby.startupmode=maintenance

I added wagby.startupmode = maintenance to the end.Do not forget to include a backslash before the -D specification.

You can also activate and deactivate the maintenance mode from the outside using URL.For details, "Wagby Developer Network (R7)> Open Wagby's arbitrary screen directly from the external system> Switch to maintenance modePlease read.

When the Wagby application is restarted, the state of the maintenance mode is always "normal mode".(We do not remember the previous state.)

If you want to restart in the maintenance mode state, add the parameter to setenv.bat as described in "$ {content_5_name}".