Command Prompts
Command Prompts
In order to make it easy for new users to test the rich functionality provided by Universal Messaging, the Universal Messaging installation includes compiled versions of all the sample applications as well as native launchers that wrap them and use environment variables to minimize the input required by the user. A command prompt is therefore a console/shell with some environment variables already set.
You require a Client Command Prompt to run sample client applications and sample administration (AdminAPI) applications with the minimum possible input.
You require a Server Command Prompt to run server side administration commands such as start a realm server, stop a realm server etc.
Client Command Prompt
The client command prompt is a console/shell with environment variables set by a client environment script. Examples of such environment variables include RNAME, PATH, CLASSPATH, Certificate stores etc.
On Windows platforms a client command prompt is opened using the shortcut in the start menu.
On Unix platforms it is opened by executing the appropriate softlink in the following folder:
$ cd <Software_AG_directory>/UniversalMessaging/links/Client/<InstanceName>/
where <Software_AG_directory> is the product installation directory, and <InstanceName> is the name of the realm server instance.
To open a command prompt to run the Java sample applications, use the following command:
$ ./Java\ Examples\ Command\ Prompt
Alternatively, to open a command prompt to run the C++ sample applications, use the following command:
$ ./C++\ Examples\ Command\ Prompt
Server Command Prompt
The server command prompt is a console/shell with environment variables set by a server environment script. Examples of such environment variables include PATH, CLASSPATH, server certificate stores etc.
On Windows platforms a server command prompt is opened using the shortcut in the start menu.
On Unix platforms it is opened by executing the appropriate softlink in the links folder under the install directory:
$ cd <Software_AG_directory>/UniversalMessaging/links/Server/<InstanceName>/
$ ./Command_Prompt