Child pages
  • Installing and Running the Servoy Application Server

Versions Compared

Key

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

Overview

The debug clients are a good way to see how the solution will run runs during development, but in order to see how solutions run in actual deployment, or to let other people others test your the developed solutions, you must deploy your solutions they must be deployed to an application server.  This section will discuss 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 you have Servoy Developer is already installed Servoy Developer on a machine, the Application Server has already been installed as , since all installations of Servoy Developer also install the Application Server as well. 

Running the Server

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

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

Note
titleNOTE

These instructions assume the database server is running.

For Windows:

  • Stop Developer

  • Click Start. Go the Servoy (or whatever the menu shortcut was named at installation) menu and select Servoy Server OR
  • 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

    .

    :

    Code Block
    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

    .

    :

    Code Block
    ./servoy_server.sh

A Note about Database Servers

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

In a default installation of Servoy, the the repository_server connection is already configured to the database provided with Servoy.  When 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 To start the database via command line, navigate to the the application_server directory and run the following command:

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

Quick Start Video

Suvideo
54_StartAppServer.mp4
54_StartAppServer.mp4