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 minimise the input required by the user. A command prompt is therefore a console/shell with some environment variables already set.
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 Win32 platforms a client command prompt is opened using the shortcut in the start menu while on Unix platforms it is opened by executing the appropriate softlink in the links folder under the install directory:
$ cd ~/terracotta/universalmessaging_<version>/links/Client/umserver
$ ./Java\ Examples\ Command\ Prompt
where <version> is the product version number.
Alternatively, to run C++ samples:
$ ./C++\ Examples\ Command\ Prompt
You are now ready to run sample client applications and sample administration (AdminAPI) applications with the minimum possible input.
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 Win32 platforms a server command prompt is opened using the shortcut in the start menu while on Unix platforms it is opened by executing the appropriate softlink in the links folder under the install directory:
$ cd ~/terracotta/universalmessaging_<version>/links/Server/umserver
$ ./Command_Prompt
You are now ready to run server side administration commands such as start a realm server, stop a realm server etc.