The Server Configuration File
The server configuration file stores general server parameters,
such as listening port or the naming-conventions and the path of the log-files.
Additionally, it contains information about the location
of the two remaining configuration files.
Figure 2.12 shows the general structure of
the server configuration file.
The whole W3C XML Schema definition is shown in figure 2.13.
Figure 2.12:
Structure of the server configuration file
 |
Figure 2.13:
W3C XML Schema of the server configuration file
 |
Figure 2.14:
Example for a common server configuration file
 |
The server configuration file consists of following elements:
server
: This element is the root element of the server configuration file.
All other elements are children of the server-element.
It provides one attribute (port) describing the server's listening port.
logFiles
: This element stores the location of the log-files-directory,
(in our example the log-files are stored in a directory named ''log'',
which path is relative to the server's home-path).
The attributes prepend and append define text that is
ap- or prepended to the name of the log file.
This file is automatically created by the server at startup (its initial name is a time
stamp in the following format: yyyy-MM-dd-HH-mm-ss-SSS).
patterns
and
rules
: These elements contain information about
the location of the rules- and patterns configuration files explained in the
following sections (attribute fileName).
An example server configuration file is shown in figure 2.14.
root
2006-05-22