Child pages
  • Maintenance Mode

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The

...

The maintenance plugin is a new plugin available since the 4.2 version of Servoy. It allows you to automatically perform administrative tasks, like:

  • Sending notifications to connected clients
  • Killing connected clients
  • Retriving information about connected clients
  • Putting the server into maintenance mode, and bringing it out of maintenance mode
  • Creating and deleting tables in databases.
  • Adding and removing columns to/from tables in databases.

...

Function

...

getConnectedClients

...

Description

...

Example

...

nopaneltrue

...

Servoy Application Server can be set into the so-called 'Maintenance mode'. When in maintenance mode, no new clients can connect to the Servoy Application Server.

The Servoy Application Server can be put into maintenance mode manually through the 'Enter Maintenance Mode' button on the Servoy Server Home page of the Servoy Admin page or programatically using the maintenance plugin inside an solution import hook.

Maintenance mode can be used when performing maintenance on the Servoy Application Server, like importing new solutions. While solutions can be imported and activated without going into maintenance mode first, when the nature of the changes would mean that existing and/or new clients might go into error, for example due to removing tables, the maintenance mode can prevent new clients connecting.

After the Servoy Application Server has been put in maintenance mode, existing clients can be disconnected, either through the Servoy Admin page or programatically through the Maintenance plugin.

See the Maintenance plugin for more information.