Child pages
  • Running the server as a service

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

When running the Servoy Application Server and the database on the same Windows machine, both as a Windows Service, then a dependency can be configured between the different Windows services. See #Configuring Configuring Windows Service dependencies for more info.

...

If the "Setup Service" option is checked in the installer, the Service will actually be setup on the machine. By default this option is unchecked, as in most cases the service configuration will require changes.unmigrated-wiki-markup

The Service component installation comes with two files to install and uninstall the Service: install install_service.\[bat/sh\] and uninstall_service.\[bat/sh\].  

Additional configuration

The configuration of the Java Service Wrapper is done through the file wrapper.conf located in ../application_server/service.

...

If the database is running on the same machine as a Windows Service as well, it is possible to configure a dependency to it in the Java Service Wrapper configuration. The dependency can be set by adding the name of the Windows Service for the database on which the Servoy Application Service depends as a the wrapper.ntservice.dependency.x property. The "x" at the end of the property name needs to be a sequential number, starting with 1, for each dependency.

Memory Setting

Wiki MarkupWhen 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/sh\].

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

...