Install Genero Application Server

These topics relate to the installation of the Genero Application Server.

Installation can vary depending on the host operating system. Ensure you follow the installation instructions for your host operating system.

The software is provided as an auto-extractible installation program (i.e. product files and installation program are provided in the same file). The name of the package includes the operating system type and version. You must install the Genero Application Server software package corresponding to the operating system that you use.

The Genero Application Server and the Genero BDL runtime should be installed on the same machine.

Note: See the Genero Application Server User Guide for additional installation and configuration information.

System requirements

For details about system requirements, refer to the Supported platforms and databases document (available on the Download page of the Four Js Web site) or contact your support center.

Genero compatibility for the GAS

Determine the compatibility of different versions of the Genero product family and the Genero Application Server.

GAS 4.00 and Genero compatibility

When using Genero Application Server (GAS) 4.00, ensure the other Genero components are based on compatible versions.

The GAS and DVM should be in sync; GAS 4.00 should use FGLGWS 4.00.

The following Genero clients are compatible:
  • GDC HTTP 4.00
  • GBC 4.00
  • GMA 4.00 (where the mobile client is using runOnServer to connect to a server-side application.)
  • GMI 4.00 (where the mobile client is using runOnServer to connect to a server-side application.)

GAS 3.20 and Genero compatibility

When using Genero Application Server (GAS) 3.20, ensure the other Genero components are based on compatible versions.

The GAS and DVM should be in sync; GAS 3.20 should use FGLGWS 3.20.

The following Genero clients are compatible:
  • GDC HTTP 3.20
  • GBC 1.00
  • GMA 1.40 (where the mobile client is using runOnServer to connect to a server-side application.)
  • GMI 1.40 (where the mobile client is using runOnServer to connect to a server-side application.)

GAS 3.10 and Genero compatibility

When using Genero Application Server (GAS) 3.10, ensure the other Genero components are based on compatible versions.

The GAS and DVM should be in sync; GAS 3.10 should use FGLGWS 3.10.

The following Genero clients are compatible:
  • GDC HTTP 3.10 and GDC HTTP 3.20
  • GBC 1.00
  • GMA 1.30 and 1.40 (where the mobile client is using runOnServer to connect to a server-side application.)
  • GMI 1.30 and 1.40 (where the mobile client is using runOnServer to connect to a server-side application.)
Important: Genero Web Client for JavaScript (GWC-JS) applies to the Web client 3.xx and lower. Starting with 3.10, GWC-JS was renamed as the Genero Browser Client (GBC).

Install GAS on UNIX platforms

Follow these steps to install the Genero Application Server on UNIX™ platforms.

Important: Before installation on Linux® systems, verify the libxcb libraries are installed.

The installation program provides options that allow you to specify configuration options from the command line. You can display the installation program options using the -h option:

./fjs-gas-version-buildYYYYMMDDhhmm-osident.run -h

Example:

$ ./fjs-gas-4.00.00-build202006031443-a640710.run -h

The installation program identifies the operating system and checks that all the system requirements are met before starting to copy the product files to disk.

  1. To perform the installation, run the auto-extractable shell script:

    ./fjs-gas-version-buildYYYYMMDDhhmm.run

    Example:

    $ ./fjs-gas-4.00.00-build202006031443.run

  2. Once the files are copied to disk, follow the instructions displayed.
What to do next:

When you have completed the installation of the GAS, see FastCGI installation in the Genero Application Server User Guide for details on the Web Server configuration. Afterwards, validate your installation as described in Validating the installation with the GBC or Validating the installation with the GDC in the Genero Application Server User Guide.

Tip: If you have configurations from a previous installation version, for example in your as.xcf, avoid copying these files in to your new installation. The preferred practice is to use the default from the new install package so that you benefit from any new or changed syntax it may contain and then reapply your custom changes.

Install the GAS on UNIX platforms in silent mode

Install the Genero Application Server (GAS) silently on Gnu/Linux and UNIX platforms.

To start the installation, type the following:

./fjs-gas-version-buildYYYYMMDDhhmm-osident.run -a -q --no-desktop -t install_dir

For example:

./fjs-gas-4.00.00-build202006031443.-a640710.run -a -q --no-desktop -t $PWD/gas-4.00

Options

Table 1shows the most common options relating to installation.

Table 1. UNIX install options
Install option Description
-a or --accept Bypass the display and the prompt for acceptance of the license agreement. Using the -a option indicates that you have read and accepted the End User License Agreement contained in the .txt files (in the license directory of the install directory).
-h or --help Display help about all possible options.
-q or --quiet Silent mode with no UI. If -q is not specified, the interactive installer is used.

-f backup|overwrite|remove or

--force backup|overwrite|remove

Specify what happens if the installation directory already exists:
  • backup: Back up the installation directory.
  • overwrite: Overwrite installation file.
  • remove: Delete installation directory before installing.

-t install_dir or

--target install_dir

Install the product in the specified target directory. If -t is not specified, the default installation is used.
-d or --dvm

Specify the FGL directory to configure .xcf files.

--gredir

Specify the GRE directory to configure .xcf files.

--no-desktop Desktop bindings are not installed, which means:
  • Desktop and system menu icons are not created.
  • File types are not automatically associated with the product.

Install GAS on Windows

Install the Genero Application Server on Microsoft® Windows® platforms.

On Microsoft Windows, the GAS is provided as a standard Windows setup program.

The installation program and the distribution files are provided in the same file:

fjs-gas-version-build-osident.exe

To install execute the setup program:

Example:

fjs-gas-4.00.00-build202006181213-w64v141.exe

A wizard guides you through the installation process.

What to do next:
Tip: If you have configurations from a previous installation version, for example in your as.xcf file, avoid copying this in to your new installation. The preferred practice is to use the default configuration file from the new install package so that you benefit from any new or changed syntax it may contain and then reapply your custom changes.

When installation is complete, see the Genero Application Server User Guide for configuration information and instructions.

Install GAS on Windows in silent mode

Install the Genero Application Server on Windows platforms using the MSI installer.

The msiexec utility provides the means to install, modify, and perform operations on Windows Installer from the command line. The /qn option allows you to install in silent mode. The msiexec utility expects an msi file. To be compliant with Microsoft User Access Control (UAC) requirements, the msi file is embedded inside an exe file. To extract the msi file from the exe file, use the /x option:

fjs-gas-version-build-osident.exe /x

For example:

fjs-gas-4.00.00-build202006181213-w64v141.exe /x

A msi file is created in the same directory and with the same name as the exe file.

Options

Table 2 shows the most common options for msiexec relating to installation and un-installation.

Table 2. msiexec install and uninstall options
msiexec option Description
/qn Silent mode with no UI. If /qn is not specified, the graphical installer is used.
/i package-name.msi Install the specified msi package.
/x package-name.msi Uninstall the specified msi package.
/log logfile Write processing info to the specified log file.
/l*vx logfile Provide verbose (detailed) logs in the specified log file

Enter msiexec from the command prompt to view the complete list of available options.

Arguments

You can pass arguments to the msiexec installer on the command line.

Table 3. Arguments for the misexec installer
Argument Description
PRODUCTDIR=your_gasdir_path Path where GAS will be installed. It is an alias of GASDIR.
GASDIR=your_gasdir_path Path where GAS will be installed. It is an alias of PRODUCTDIR.
FGLDIR=your_fgldir_path Path where Genero BDL is installed. Used only when SETFGLDIR=1.
SETFGLDIR=1 Enable the FGLDIR variable. Default value is 0 (zero).
GREDIR=your_gredir_path Path where GRE is installed. Used only when SETGREDIR=1.
SETGREDIR=1 Enable the GREDIR variable. Default value is 0 (zero).
STARTMENUFOLDER=your_startmenufolder_path Customize the location for the shortcuts in the startmenu. For example: "fjs\gas"
FORCEREMOVEPRODUCTDIR=YES On uninstall, remove the PRODUCTDIR location even if it is not empty. Default value: ""
Note: Quotes are only required around the argument value when a space character is in the value string.

Silent install example

msiexec /qn /i fjs-gas-4.00.00-build202006181213-w64v141.msi /log gas4_00.log PRODUCTDIR=c:\tmp\gas2

Silent uninstall example

msiexec /qn /x fjs-gas-2.50.04-build129065-v32v100.msi /log as2_50_04.log

Install GAS on macOS

Before you begin

You need a macOS™ and an user account which has administrator access level.

Download the installation package for the macOS .

You should have completed the installations for Genero BDL (mandatory) and Genero Report Engine (if necessary) before you start this task.
  • The installation of Genero BDL is mandatory.
  • The installation of Genero Report Engine is only necessary if you plan to use the Genero Report Writer through applications running on the GAS.

You will be asked to provide the directory paths for both BDL and GRE.

About this task

Follow these instructions to install the Genero Application Server on macOS.

  1. Determine the directory where you will install the product.
    The wizard will eventually suggest /opt/fourjs/gas. If you plan to use this default, ensure you have write permission to this directory.
  2. Log in as a user with permission to write to the directory in which you plan to install this product.
  3. Copy the self-extractable file into a temporary directory.
  4. From a command prompt, run the self-extractable shell script with the -i option:
    sh fjs-gas-3.xx.xx-buildxxxxxx-m64x1011.run -i
    Note: The "x" entries in the file name example above must use the actual numbers of the downloaded file!
  5. Follow the instructions displayed.
    Tip: After you have read the licensing agreement, press "q" to return to the instructions and prompts.
What to do next

When installation is complete, see the Genero Application Server User Guide for configuration information and instructions.