User guide
The following two special server names may be used, DEFAULT and DEFAULTSSL,
within the XML-formatted configuration file.
The server characteristics defined in the DEFAULT server will be used to provide the base
configuration information for all servers, but any of these characteristics can be over-ridden
either by command line switches or by characteristics defined within the specified named
server in the configuration file.
Example 2
For example given the following server entry in MY_CFG.XML file:
<servers>
<server
name = DEFAULT
type = "RdbThinSrv"
url = "//localhost:1755/"
maxClients="-1"
/>
<server
name="myServer"
maxClients="10"
/>
</servers>
and the following command line statement:
$ java -jar rdbthinsrv.jar -cfg MY_CFG.XML -name "myServer"
A thin server with the name myServer will be started up on localhost listening to port 1755
with maxClients =10.
The server characteristics within the DEFAULTSSL server will be used to provide base SSL
information for RdbThinSrvSSL type servers.
Example 3
If an XML-formatted configuration file is used, a server is not found that matches the name
provided on the command line, and a DEFAULT server definition is provided, then the
DEFAULT server characteristics will be used for that server.
For example given the following server entry in MY_CFG.XML file:
<servers
<server
name = "DEFAULT"
type = "RdbThinSrv"
url = "//localhost:1799/"
maxClients=-1
/>
</servers>
120