Network Configuration

There are two network settings that can be set to all XML Server s.

The TCP/IP port number on which to listen for connections. Clients of the XML Server connect to the host on which the server is running and must specify which port should be used for communications. The <SERVER_PORT> element is used to specify the port number. The number should be that of an available port on the system. Generally, this means a port number between about 1000 and 32767. If the server is started with a port that is already in use, this will be reported and you can select a different port.

A timeout value can be specified for network socket operations to ensure that the job threads are not blocked indefinitely, while reading template files across the network and in the event of any network problems. The <SO_TIMEOUT> element is used to specify the timeout value (in milliseconds). This option allows a network socket operation to block for the time specified. If the timeout expires, a java.net.SocketTimeoutException is raised, although the socket is still valid. A timeout value of zero is interpreted as an infinite timeout. If this option is not specified, a default value of 60000 (i.e. one minute) is used.