Pre-Start Uniface Servers

It is possible for the Uniface Router to automatically start Uniface Servers when the Uniface Router itself starts.

This can be useful when:

  • The server to be started is effectively a service that should always be available and that has no direct client connection.
  • You want to have a server already available for a client the moment the client connects to the server.

Pre-starting servers ensures that they are available directly after rebooting the machine.

Note:  Pre-starting a server is a one-time action. The Uniface Router does not restart them if they unexpectedly exit. Such servers can be re-started by using the Uniface Router Monitor or UROUTMON component.

To configure the Uniface Router to automatically start Uniface Servers:

  1. In the urouter.asn file, add or edit the [PRE_START] section and define the servers to be started.

    For more information, see [PRE_START] and Network Connection Strings.

    For example:

    [PATHS]
    $SRV2 = TCP:|user|P@55word|server2 /ex
  2. Stop and restart the Uniface Router. For more information, see Stop and Start the Uniface Router.