Child pages
  • Running the Server As a Service

Versions Compared

Key

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

...

If the database is running on the same machine as a service, 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 service 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

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:

  • Initial Java Heap Size > wrapper.java.initmemory=...
  • Maximum Java Heap Size > wrapper.java.maxmemory=...
  • Maximum Java Perm Size > wrapper.java.additional.3=-XX:MaxPermSize=...

For more information on the the meaning of these settings and their suggested values, see ..... TODO

Running multiple Servoy Application Servers as a Service on a single machine 

...