en_data_spooler_configuration.pdf

(155 KB) Pobierz
EWA Data Spooler
Configuration
Valid from data spooler version 2.1.2
Status: 09/21/2012
Data Spooler Configuration
Page 1 of 18
1302180195.013.png
Contents
1
Command Line Parameters
3
2
Batch Mode
4
3
Configuration Files
5
3.1
General Configuration
5
3.1.1
AWAT character set/character replacement
5
3.1.2
Book/Column Mapping
7
3.1.3
Logging
8
3.2
ASRA Spooler
9
3.2.1
asraSpooler.properties
9
3.2.2
asraGeneral.properties
12
3.3
SSL Spooler
14
3.3.1
sslSpooler.properties
14
3.3.2
sslGeneral.properties
17
Status: 09/21/2012
Data Spooler Configuration
Page 2 of 18
1. Command Line Parameters
The data spooler always has the following command line parameters which can be included when running the start-up files:
Parameter
Description
-nongui
Batch mode active
-f <Directory>
Directory which contains all spooler configuration files for the
batch mode.
-outDir
Base output directory for the batch mode.
-type <spoolerType>
Indicates the spooler type.
Possible values: áasraÓ or ásslÓ
Default: áasraÓ
Is already also specified during start-up with
ÓstartSSLSpooler.batÔ or the link in the Start menu.
-dbHost
Name of the database server.
Optional (if empty, then default values will be assumed)
Default: localhost
-dbPort
Port of the WIS/ASRA database
Optional (if empty, then default values will be assumed)
Default: 2054
-dbUser
User name for the WIS/ASRA database access
Optional (if empty, then default values will be assumed)
Default: tbadmin
-dbPwd
Password of the database user for the WIS/ASRA database
access
Optional (if empty, then default values will be assumed)
Default: ""
-dbName
Name of the database.
Optional (if empty, then default values will be assumed)
Default: wisnet
Status: 09/21/2012
Data Spooler Configuration
Page 3 of 18
1302180195.014.png 1302180195.015.png 1302180195.016.png 1302180195.001.png 1302180195.002.png 1302180195.003.png 1302180195.004.png 1302180195.005.png 1302180195.006.png 1302180195.007.png 1302180195.008.png 1302180195.009.png 1302180195.010.png
 
2. Batch Mode
The configuration files for the batch mode are identical to the actual configuration files for the execution of the spooler user
interface (see Chapter 0 and Chapters 0).
For the batch mode, a separate configuration file must be created in a directory for each desired language/output
format/time format combination. This directory must also be specified as the command line parameter Ïf of the spooler
when running the batch mode (see Chapter 0).
The data spooler reads each individual configuration file from this directory and creates the desired output files for this
configuration variant.
In addition, the parameter ÏoutDir <outputdir> must be specified for the batch mode (see Chapter 0)
Example calls for the batch mode:
SSL spooler:
startSSLSpooler.bat Ïnongui Ïf c:\data\spoolerBatchConfig\ -outDir c:\ewa\spooler\ssl\
ASRA spooler:
startASRASpooler.bat Ïnongui Ïf c:\data\spoolerBatchConfig\ -outDir c:\ewa\spooler\ssl\
Status: 09/21/2012
Data Spooler Configuration
Page 4 of 18
1302180195.011.png
3. Configuration Files
The configuration files of the data spooler are located in the installation directory of the spooler in the sub-directory
Ñconfig/Ò.
There are basically two formats for configuration files. These are the XML files and the so-called Property files which contain
parameter names/value pairs. In the Property files, the parameter name and the value are separated from each other with an
equals sign. Lines which start with "#" are comment lines. Here is an example file:
# ------------------------------------------------------------------------------------
# Name: asraSpooler.properties
# Version 1.0, 11/16/2011
# ASRA Data Spooler
# Description: Configuration file with options for the ASRA data spooler. These
# will be used to spool out the AWAT files.
# ------------------------------------------------------------------------------------
# Display name of the spooler (used as GUI title)
display.name=ASRA spooler
# Display language of the frontend.
# Supported values are: ‘00’ for German or ‘02’ for English
gui.language=00
# Output directory for the spool files (must exist).
output.dir=c:/Program Files/EWA net/downloads/spooler/asra
XML configuration files have an assigned schema file (XSD), which defines the format and the value ranges of the individual
attributes.
3.1 General Configuration
3.1.1 AWAT character set/character replacement
To carry out the character replacement, the data spooler must know which characters are to be replaced with which
replacement characters. For this purpose, an XML configuration file is used according to the following schema:
awatCharset.xsd
Status: 09/21/2012
Data Spooler Configuration
Page 5 of 18
1302180195.012.png
Zgłoś jeśli naruszono regulamin