Server Configuration - Config.ini
File: SYSTEM_DRIVE:/ProgramData/WinQServer/Config.ini
Scope: entire system
The file contains categories of properties that are used for basic configuration of application. Table below shows their definitions and values.
CATEGORY
|
PROPERTY
|
VALUE
|
DESCRIPTION
|
[Logs]
|
RelativePath
|
\Logs
|
Relative path (relative to location of configuration file) of folder with server's log files.
|
FileTemplate
|
ServiceLog_{0}_{1}_{2}.txt
|
Pattern of log file names. Symbol {0} represents year, {1} is month, and {2} represents day.
| |
| |||
[Database]
|
Server
|
localhost
|
Domain name or IP address of computer with RDBMS installed.
|
Username
|
Username
|
Username to access RDBMS.
| |
Password
|
Password
|
Password to access RDBMS.
| |
Database
|
Database name
|
Name of the database in RDBMS with WinQDB modules that will be used.
| |
| |||
[Pooling]
|
PoolMaximum
|
10
|
Specifies number of requests that server can handle simultaneously.
|
LockTimeout
|
10
|
Maximum number of seconds that a single request can take to be serviced before it is forced to terminate.
| |
AutoClose
|
300
|
Defines number of seconds after slot is closed to requests if it is not in use.
| |
| |||
[Service]
|
Port
|
8080
|
Number of communication port that is used for operation of service.
WARNING: Each service that is managed in server's operating system must have its own unique port number assigned!
|
Protocol
|
http
|
Type of communication protocol that is used to operate the service.
| |
LoginExpirationMinutes
|
60
|
Defines number of minutes after which each user's login is valid.
| |
| |||
[Session]
|
SessionActivityProtectionMins
|
15
|
Number of minutes that a user is considered active even if they do not send any requests to the server.
|
|
If server have to manage more than one database, then to add new database, new DatabaseX and ServiceX categories must be created in the configuration file with the definition of its interface. Index X can take on values from 2 to 10. Server together with the mandatory default database service is able to manage up to 10 different databases in total. Table below shows the category definitions and values.
CATEGORY
|
PROPERTY
|
VALUE
|
DESCRIPTION
|
[DatabaseX]
|
Server
|
localhost
|
Domain name or IP address of computer with RDBMS installed.
|
Username
|
Username
|
Username to access RDBMS.
| |
Password
|
Password
|
Password to access RDBMS.
| |
Database
|
Database name
|
Name of database in RDBMS with WinQDB modules that will be used.
WARNING: Multiple server services must not be connected to one physical database!
| |
| |||
[ServiceX]
|
Port
|
Port number
|
Number of communication port that is used for operation of service.
WARNING: Each server service must be assigned its own unique port number (eg 8081, 8082, etc.)!
|
Protocol
|
http
|
The type of communication protocol that is used to operate the service.
| |
LoginExpirationMinutes
|
60
|
Defines number of minutes after which each user's login is valid.
| |
|