Newer
Older
This is the main DES configuration that contains basic configuration variables that are loaded at DES startup or restart
**Main configuration file:** ./config/DES.ini
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
### Parameters ###
[System]
**RDS_ID** DES identifier (ex. DES_$ID@yourdomain.org)
**RDS_HOME** HOME directory of DES
**CONFIG_FILE_PATH** Path where processor configuration files are located ( $PROCESSOR.processor_config.xml)
**LOGS_PATH** STOUT print to stdout | LOG4J : use log4j2| Path of the log file dir (ending with / , ex: ./testdata/logs/ ) directory will be created
**BASE_PATH** Basepath at which logical directory tree starts: $BASE_PATH/$AoiName/$ProcessorName
**STAMPS_PATH** Directory for Stamp files
**COMPILECODE_PATH** Temporary directory where class files are compiled on the fly. Content will be deleted at every restart
**MAX_PROCESSOR_THREADS** Max processor Threads
**MAX_AOI_THREADS** Max Threads per AOI
**MAX_AOI_TASKGROUP_THREADS** Max Threads per TaskGroup
**AOI_THREAD_SLEEP** Time interval for AOI Thread
**MAX_NR_FILTER_FILES** Max number of files filtered in each iteration
**DEBUG** Write to log files
**STDOUT_STDERR** Print Tasks output streams to STDOUT/STDERR)
[DB]
**USE_STATUS_DB** Enable Task status logging in DB
**DB_SERVER** = Database server
**DB_DATABASE** = Database name
**DB_PORT** = Database port
**DB_USER** = Database user
**DB_PWD** Database password
[Mail]
**FROM_EMAIL** e-mail for delivery
**SMTP** = URL for SMTP
**SMTP_PORT** Port for SMTP
[Plugin]
**CONFIG_PLUGIN** Configuration for Plugins. Java variable: DistributionServerConfig.CONFIG_PLUGIN
### Sample configuration
```
[System]
RDS_ID=DES_YOURIDC@yourdomain.org
RDS_HOME=/DES
CONFIG_FILE_PATH=./test_data/config/
LOGS_PATH=LOG4J
BASE_PATH=./test_data/data/
STAMPS_PATH=./test_data/stamps
COMPILECODE_PATH=./test_data/tmp
MAX_PROCESSOR_THREADS=50
MAX_AOI_THREADS=50
MAX_AOI_TASKGROUP_THREADS=50
AOI_THREAD_SLEEP=10000
MAX_NR_FILTER_FILES=5
DEBUG=true
STDOUT_STDERR=false
[DB]
USE_STATUS_DB=false
DB_SERVER=server.yourdomain
DB_DATABASE=des
DB_PORT=5432
DB_USER=user
DB_PWD=pwd
[Mail]
FROM_EMAIL=des@yourdomain.org
SMTP=mailsubmit.yourdomain.org
SMTP_PORT=25
[Plugin]
CONFIG_PLUGIN=./plugins/plugin.ini
```