Child pages
  • Installing and Running the Servoy Application Server
Skip to end of metadata
Go to start of metadata

Overview

The debug clients are a good way to see how the solution runs during development, but in order to see how solutions run in actual deployment, or to let others test the developed solutions, they must be deployed to an Application Server. This chapter deals with installing and running the Servoy Application Server.

Installing the Server

The Deployment Guide has information regarding the installation of the Application Server, see Installing the Application Server.

If Servoy Developer is already installed on a machine, the Application Server has already been installed, since all installations of Servoy Developer install the Application Server as well.

Running the Server

The Deployment Guide has information regarding the operation of the Application Server, see Operating the Server .

The Application Server can also be run from the Developer Installation. To run the Application Server from the current installation, do the following.

NOTE

These instructions assume the database server is running.

For Windows:

  • Stop Developer

  • Choose either of these two options:
    (a) Go to Start > {servoyMenuShortcut} (if one was created), and select Servoy Server - this option applies to Windows XP/Vista/7
    (b) Open a command window, navigate to the application_server folder in the Servoy installation folder, and run the following command:

    servoy_server.bat

For MacOS or Linux:

  • Stop Developer
  • Open a terminal, navigate to the application_server folder in the Servoy installation folder, and run the following command:

    ./servoy_server.sh

A Note about Database Servers

The Servoy Application Server requires a database in order to operate. The repository_server connection is required or the Application Server will not start.

In a default installation of Servoy, the repository_server connection is already configured to the database provided with Servoy. When Servoy Developer is started, this database is also started automatically.

For versions of Servoy that use PostGreSQL, the database is stopped when Developer closes. To start the database via command line, navigate to the application_server directory and run the following command:

postgres_db\bin\pg_ctl start -D database -l postgres_db\postgres_log.txt

Quick Start Video

  • No labels