Post-installation modifications may be required, particularly the database connection properties for installations that used the Standard PostgreSQL Server or an existing database.
Also, instructions are provided below for increasing the amount of memory allocated to Servoy, which can enhance overall performance.
Users can access the servoy.properties
file found in the ../application_server/
folder (found in the root installation folder) to modify database connection settings.
Servoy also provides additional database connection configuration via the Resources project while working on a solution. For details see Working with Database Servers.
The Servoy Repository, a set of tables in the database underlying the nameserver connection 'repository_server' is required to run Servoy. If the bundled PostgreSQL installation option is used, the repository is already installed. When using the full-featured PostgreSQL installation or when choosing to connect to an existing database, the repository will need to be manually installed.
This is achieved via the command line process that can also be used to upgrade the repository:
../application_server/
directory:./servoy_server.sh -upgradeRepository |
servoy_server.bat -upgradeRepository |
Executing the above command starts the Servoy Application Server and will create or upgrade the table structure required for the Servoy Repository to the version that the Servoy Application Server requires.
The startup configuration file can be modified to increase the memory allocated to Servoy, which can improve overall performance.
../developer/Servoy.ini
file in a text editor. (For Mac users, this file is exposed in the MacOS
folder, in the Servoy application package contents)-Xmx
argument, for example, from -Xmx512m
to Xmx1024m
.Edit [...]\developer\servoy.ini. Above the '-vmargs' line, add two lines, as shown below: (corresponding to the Java install that you want to use)
-vm c:\Program Files\Java\jdk1.8.0_112\bin\javaw.exe |