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 4.0

...

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.

Wiki MarkupThe 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:

...