Customizing The Rtr Windows Nt Service; Files Created By The Rtr Windows Nt Service - Compaq AA-Q88CE-TE System Manager's Manual

Rtr
Table of Contents

Advertisement

2.11.1 Customizing the RTR Windows NT Service

While starting RTR, the Service looks for the file
directory. On finding the file, the Service executes any RTR commands it may
contain. RTR commands from
From the point of view of the Service, the RTR home directory is found in the
system-level environment variable
the directory from which the Service was executed.
For the RTR Service to use it,
environment variables list, not the user-level environment variables list. Also,
the system must be rebooted after the definition of
created or changed for it to be used.
If a user-level copy of
directory as the system-level copy, or if there is no system-level copy, the directory
containing the currently registered Service program. If it does not, behavior of
RTR is undefined. Changing the value of
service from another directory while RTR is running, is dangerous and should
be avoided. Starting RTR from the Service, then stopping it from DOS (or the
reverse) should also be avoided.
If you put
not detect that RTR has been stopped and will offer only the STOP action button.
Pressing the STOP button will fix the problem.
Similarly, when the Service stops RTR, it searches the RTR home directory for
the file
UsrStop.RTR
commands from
If you put QUIT or EXIT in either
will exit improperly. As a result, an RTR command server process
incorrectly remains active, preventing the Service from starting or
stopping RTR, and preventing the RTR command server from exiting.
Because the RTR command server executes under the SYSTEM account,
it cannot be stopped from Task Manager other than by the SYSTEM
account.

2.11.2 Files Created by the RTR Windows NT Service

If RTR is started from the Service rather than via a Command Prompt window,
several files are created in the RTR root directory.
as a command line input source;
output;
RTR, it recreates
Creation of these files is unconditional; that is, they are created every time RTR
is started or stopped, whether or not they already exist. RTR will thus ignore
(and overwrite) any changes made to one of these files.
2.11 Running RTR as a Service on Windows NT
UsrStart.RTR
RTR_DIRECTORY
RTR_DIRECTORY
in the
STOP RTR
UsrStart.RTR
and, if the file exists, execute any RTR commands in it. User
are executed before RTR has stopped.
UsrStop.RTR
RTRStart.RTR
contains the startup commands. When the Service stops
and creates
SrvcIn.Txt
Starting and Setting Up RTR
UsrStart.RTR
execute after RTR has been started.
RTR_DIRECTORY
, or, if that is not defined, then
must be defined in the system-level
RTR_DIRECTORY
exists, it must identify the same RTR home
RTR_DIRECTORY
file, it will stop RTR. The Service will
WARNING
UsrStart.RTR
or
UsrStop.RTR
SrvcIn.Txt
acts as a container for console
SrvcOut.Txt
for stopdown commands.
RTRStop.RTR
Starting and Setting Up RTR 2–17
in the RTR home
is either
, or reregistering the
, RTR
is created to act

Advertisement

Table of Contents
loading

This manual is also suitable for:

Reliable transaction router, version 3.2

Table of Contents