An RTclient process does not have any standard startup command files. It is up to you to decide whether command files should be loaded, and to create and define those files. Startup command files can be loaded with the TutCommandParseFile function. For information on creating and using RTclient command files, see the TIBCO SmartSockets Tutorial.
This example illustrates a typical RTclient command file:
An RTserver process has a standard startup command file, named rtserver.cm
. The RTserver startup command files contain generic information that RTserver needs to know, such as how to locate and connect with RTclient processes, how to locate and connect with other RTserver processes, and how often to check for network failures.
This example illustrates a typical RTserver startup command file:
RTserver recognizes three levels of startup command files. When first invoked, it searches for and executes the commands in each file, in this order:
rtserver.cm
file in the SmartSockets standard
directory
RTserver searches for a system-level process command file rtserver.cm
in the SmartSockets directory standard
, in RTHOME:
$RTHOME/standard
RTHOME:[STANDARD]
%RTHOME%\standard
The rtserver.cm
file can be modified to reflect RTserver options that are meant to be system-wide. To edit this file, change the current directory to the SmartSockets standard directory and use an editor to add or change the system-wide option settings.
rtserver.cm
file in the user’s home directory
RTserver searches for an rtserver.cm
file in the user’s home directory and, if found, executes the commands in that file. This file is the ideal place to set options specific to all your projects. To create this file, use an editor to open a new file named rtserver.cm
in your home directory and add the options you choose.
The location of the home directory that RTserver searches varies by operating system:
-command
argument, or the local-level rtserver.cm
file in the current directory (if the -command
argument is not specified)
RTserver reads and executes the rtserver.cm
file found in the current directory, that is, the directory from which RTserver is being run. Use this file for any application-specific option declarations. The local command file is read last, allowing you to override any values set for RTserver options in other command files.
![]() |
If you have configured Basic Security features (as outlined in Security), RTserver also loads the command file |
An RTmon process has a standard startup command file, named rtmon.cm
. The RTmon startup command files contain generic information that RTmon needs to know, such as what values to use for IPC-related timeouts, what project to monitor, and what node RTserver resides on.
This example illustrates a typical RTmon startup command file:
RTmon recognizes three levels of startup command files. When first invoked, it searches for and executes the commands in each file, in this order:
rtmon.cm
file in the user’s home directory
RTmon searches for an rtmon.cm
file in the user’s home directory (specified by the HOME environment variable) and, if found, executes the commands in that file. This file is the ideal place to set options specific to all your projects. To create this file, use an editor to open a new file named rtmon.cm
in your home directory:
-command
argument, or the local-level rtmon.cm
file in the current directory (if the -command
argument is not specified)
RTmon reads and executes the rtmon.cm
file found in the current directory, that is, the directory from which RTmon is being run. It is in this file that you place any project-specific option declarations, such as the name of the project and where to find RTserver. The local command file is read last, allowing you to override any values set for RTmon options in other command files.
TIBCO SmartSockets™ User’s Guide Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |