In this article:

Installation

Setup

Opening

Possible Errors

Installing and Setting Up Designer of Business Applications Back End

The back end of the designer of business applications is used to work with a ready business application in the web interface; a business application is created by means of the Designer of Business Applications extension.

To ensure back end work, the installed and configured BI server and business application created in repository are required. The installation must be executed under the user who has local computer administrator permissions.

Make sure that the workstation where the web application will be started has an installed browser that meets system requirements.

Installation

Installing designer of business applications back end is executed with one of the web servers:

NOTE. Installing of the designer of business applications on Apache Tomcat is identical for Windows OS and Linux OS.

Before installation make sure that a server role has been added if the web server is installed on server Windows OS. If web server is installed to a non-server Windows OS, connect IIS services before installation.

The back end is installed using the DBAWebServer.exe installer.

The installer executes the following operations:

  • It installs files of designer of business applications back end.

  • It sets up IIS.

  • It creates an application pool (DBA Pool v10.x) and a virtual directory (DBA_App_v10.x).

To install designer of business applications back end:

  1. Run the installer, select installation language. After the system is prepared for installation, the start page with introductory information is displayed:

Click the Next button to continue the installation.

  1. Then, select the folder to which the back end files will be installed. The default folder is C:\Program Files\Foresight\. To change the folder, click the Change button. The Designer of Business Application 10.x Web Server directory will be created in the selected folder after installation.

Click the Next button to continue the installation.

  1. To start the installation, click the Install button on the next page.

  1. Click the Finish button on the last page of the wizard to finish the installation.

The designer of business applications back end is installed using the DBA.war file. The file is located in the Java_DBAWeb folder of the software package.

Installation process depends on the Java version in use. The guide contains an example of installing the designer of business applications to the Apache Tomcat 9 Java web server.

NOTE. The designer of business applications can also be started on the Apache web server without Java via Apache HTTP Server.

First, install and set up Apache Tomcat according to the guides for Windows OS and Linux OS.

To install designer of business applications back end:

  1. Open the Apache Tomcat administration console at the following URL:

http://localhost:<port>/

where <port> - port specified on installing Apache Tomcat. The default port value is 8080.

  1. Click the Manager App button. The popup window for authorization request opens.

  2. Enter administrator credentials specified on installing Apache Tomcat. The page opens after the authorization:

  1. Specify the path to the DBA.war file:

    • Go to the Deploy Directory or WAR File Located on Server section and specify the context path in the Context Path box that will be added in the browser field to access the designer of business applications, for example, /DBA. Then specify path to the DBA.war file in the WAR or Directory URL box.

    • Go to the WAR File to Deploy section, click the Choose File button and specify path to the DBA.war file.

  1. Click the Deploy button.

If all steps are correctly executed, the designer of business applications is added to the list of Apache Tomcat applications. and the corresponding message is displayed on the page.

The designer of business applications back end is installed using the DBA.war file. The file is located in the Java_DBAWeb folder of the software package.

First, create a folder to store business application, for example, /opt/foresight/dba/10.x.

Copy the DBA.war archive to the created folder and unpack the archive using the command:

unzip DBA.war

Apache HTTP Server (Apache2) web server should be installed together with BI server:

Determine additional settings of Apache HTTP Server to access resources of the designer of business applications. Examples of settings depending on the operating system, in which web server is running:

Setup

To ensure correct work of the designer of business applications, determine BI server connection settings and specify repository identifier and business application identifier. Settings are defined in the DBA.config.json file that is located in the installation folder of business application server part.

To determine business application connection settings:

  1. Open the folder with the installed back end. The path for the DBA.config.json file depends on the type of the web server in use:

/opt/foresight/dba/10.x/config

/path_to_tomcat/webapps/path/config

Where:

C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\<path>\config

where <path> - context path specified at Step 4 of the installation of Apache Tomcat.

NOTE. The specified path to the folder with the installed Apache Tomcat may differ depending on the folder location.

C:\Program Files\Foresight\Designer of Business Application 10.x Web Server\config

  1. Rename the sample-DBA.config.json file located in the Config subfolder or its copy to DBA.config.json. Open the obtained file in text editor.

  2. Add an URL to the BI server, which is used during repository connection and data transfer. The URL is specified as a value for the ppServiceUrl element:

http://localhost[:port]/fpBI_App_v10.x/axis2/services/PP.SOM.Som

Where:

NOTE. When Apache Tomcat is used, skip this step.

If BI server and web server are physically located on the same computer and use the same port, a relative path to BI server can be specified in ppServiceUrl, for example:

/fpBI_App_v10.x/axis2/services/PP.SOM.Som

NOTE. On working with business application the direct connection to BI server is executed from the user computer that is why the ppServiceUrl element value should be set to the address to which the user has access.

  1. Replace text labels:

Example of the DBA.config.json file

  1. Restart IIS, Apache Tomcat and Apache HTTP Server web servers.

To restart IIS, see the Microsoft documentation.

To restart Apache Tomcat on Windows OS:

  1. Open hidden icons on the taskbar.

  2. Select the Stop Service item in the Apache Tomcat context menu, then select the Start Service item.

To restart Apache Tomcat on Linux OS:

  • If Apache Tomcat is running as a Linux OS service, execute the command:

sudo systemctl restart tomcat

NOTE. The tomcat file is a custom file and its name may differ.

  • If Apache Tomcat is started manually, execute the commands:

/path_to_tomcat/bin/catalina.sh stop

/path_to_tomcat/bin/catalina.sh start

Where:

    • path_to_tomcat. The path to the Apache Tomcat installation file.

To restart Apache Tomcat on Linux OS, execute the commands in the console:

  • RedHat-based distributions:

sudo service httpd restart

  • Debian-based distributions:

sudo service apache2 restart

The specified steps are minimum required to get access to business application in the web interface. If required, other settings can be determined, and the number of repositories and business applications available to work with can be extended. For details see description of the DBA.config.json file structure.

Opening

To open web interface of the designer of business applications:

  1. Open supported browser and enter web application URL in the browser field:

http://<IP address or workstation name>/dba/

NOTE. The dba virtual directory is created manually on installing web application back end.

http://<IP address or workstation name>:<port>/dba/

http://<IP address or workstation name>:<port>/path/

Where:

http://<IP address or workstation name>/DBA_App_v10.x/

NOTE. The DBA_App_v10.x virtual directory is created automatically on installing designer of business applications back end.

The start page of the designer of business applications should open to authorize in repository. The business application uses settings determined in the DBA.config.json file. When working with the default address, for example: http://localhost/DBA_App_v10.0/ the business application specified for the targetApp element is opened from the repository specified for the targetRepo element in the DBA.config.json file.

NOTE. If the authorization dialog box is not displayed, and a white screen appears, check if your browser meets minimum requirements, and if required, update it to the latest version.

  1. Specify login and password. After credentials are checked, the business application interface opens.

To connect to a different repository and open a different business application, which settings are contained in the DBA.config.json file, the user can add additional parameters repo and app to the URL, for example:

Possible Errors

Description of possible errors occurring on setting up the IIS web server is given in the Problems on Setting Up Foresight Analytics Platform Web Application on ASP.NET article.

See also:

Installing Foresight Analytics Platform Extensions