Application Setup and Database Configuration
Table of Contents
1. Overview
This guide is intended for testers/support to run the application from the dist folder.
You need to:
-
Set valid java installation folder (
JAVA_HOME) inapp.env -
Set the path to the
distfolder (APP_HOME) inapp.env. -
Configure ACS WebService parameters.
-
Configure database connection (MySQL or Oracle).
-
Start the application using
start.shorstart.cmd.
2. Required Directory Structure
The dist folder must contain:
📁 dist/ ├── 📁 bin/ │ ├── 📄 app.env # Main configuration file │ ├── 📄 start.cmd/sh # Startup script ├── 📁 conf/ │ ├── 📁 customization/ │ │ ├── 📁 def/ │ │ ├── 📁 mc/ │ │ └── 📁 sc/ │ └── 📄 hazelcast-client.yml
3. app.env Configuration
3.2. ACS WebService
ACS_WEB_SERVICE_HOST=localhost
ACS_WEB_SERVICE_PORT=8080
ACS_WEB_SERVICE_USER=friendly
ACS_WEB_SERVICE_PASSWORD=linux4israel
3.3. Database Connection
General properties for MySQL and Oracle
DB_HOST=localhost
DB_PASSWORD=ftacs
Option A: MySQL
DB_VENDOR=mysql
MYSQL_PORT=3306
MYSQL_USER=ftacs
MYSQL_SCHEMA_FTACS=ftacs
MYSQL_SCHEMA_IOTW=iotw
Option B: Oracle
DB_VENDOR=oracle
ORACLE_HOST_FTACS=${DB_HOST}
ORACLE_HOST_IOTW=${DB_HOST}
ORACLE_PORT=1521
ORACLE_SERVICE=XEPDB1
ORACLE_USER_FTACS=ftacs
ORACLE_USER_IOTW=iotw
ORACLE_PASSWORD_FTACS=${DB_PASSWORD}
ORACLE_PASSWORD_IOTW=${DB_PASSWORD}