Child pages
  • Running the Server As a Service

Versions Compared

Key

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

...

While the Java Service Wrapper used by Servoy supports virtually all platforms on which a Java Virtual Machine is available (also required to run the Servoy Application Server), in Servoy up to Servoy 6 it's only installed properly available on Windows. As of Servoy 6 the service component is properly installed on Windows, OSX and other *nix flavors.

For more info on the Java service Wrapper see the paragraph #More info on the Java Service Wrapper component below.

The Java service Wrapper component will create a Windows Service on the Windows platform and on other platforms it utilized Unix Daemons.

Installation

The Java Service Wrapper is an optional component that needs to be checked in the Servoy All-In-One installer, see Running the All-In-One Installer (The Application Server Service option).

When checked during the installation, an extra service directory is created in the ../application_server/ directory. This directory contains, among others, the configuration file for the service, called wrapper.conf.

On the Windows platform the The Windows Service will be automatically installed when the All-In-One installer has finished. 

...

When changing the value of any any wrapper.ntservice.* property on Windows, the Service needs to be uninstalled first and reinstalled after the changes have been made.

...

When the Servoy Application server is started as a service through the Java Service Wrapper, the assignment of memory goes through the configuration of the wrapper in wrapper.conf, instead of through servoy_server.bat/server_server.sh.

Below the mapping for the three relevant memory settings and their equivalent in the wrapper.conf:

...