Child pages
  • Post-Installation Modifications
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

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.

Modifying Database Connection Settings

Users can access the servoy.properties file found in the ../application_server/ folder (found in the root installation folder) to modify database connection settings.

  • This file contains the database connection settings that were created during installation, and any modifications you wish to make post-installation can be made here.
  • If you chose to install the full-featured PostgreSQL and wish to use it with the sample database files, you need to manually enter the sample database information in this file.

Servoy also provides additional database connection configuration via the Resources Project while working on a solution. For details see Working With Database Servers.

Creating the Servoy Repository

The Servoy Repository, a set of tables in the database underlying the nameserver connection 'repository_server' is required to run Servoy. The repository is installed if you choose the bundled PostgreSQL option, but it will need to be manually installed if you choose the full-featured PostgreSQL installation or if you choose to connect to an existing database.

This is achieved via the command line process that can also used to upgrade the repository:

  1. Shut down the Servoy Application Server if it is running
  2. Open a command line or terminal window and execute the following command in the ../application_server/ directory:

Macintosh/Linux/Unix:

./servoy_server.sh -upgradeRepository

Windows

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.

Creating the Servoy Repository

The Servoy Repository, a set of tables in the database underlying the nameserver connection repository_server, is required to run Servoy. The repository is installed if you choose the bundled PostgreSQL option, but it will need to be manually installed if you choose the full-featured PostgreSQL installation or if you choose to connect to an existing database.

This is achieved via the command line process that can also used to upgrade the repository:

  1. Shut down the Servoy Application Server if it is running
  2. Open a command line or terminal window and execute the following command in the <servoy>/application_server/ directory:

Windows

servoy_server.bat -upgradeRepository

Macintosh/Linux/Unix:

./servoy_server.sh -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.

Increasing Memory Allocations to Servoy

The startup configuration file can be modified to increase the memory allocated to Servoy, which can improve overall performance. 

  1. Open the ../developer/Servoy.ini file in a text editor. (For Mac users, this file is exposed when you view the Servoy application package contents and browse to the MacOS folder.)
  2. Change the -Xmx argument, for example, from "-Xmx512m" to "Xmx1024m."
  3. Restart Servoy to effect the changes.
  • No labels