Utility
Register or unregister the EMS server daemon as a Windows service.
Some situations require the EMS server to start automatically. You can satisfy this requirement by registering the server daemon with the Windows service manager. This utility facilitates registry.
You must have administrator privileges to change the Windows registry.
This command does not support space characters in directory paths or file names.
Locate this utility program as an executable file in the EMS bin
directory.
To register tibemsd
as a Windows service, run the utility with this command line:
This simple example registers one service:
This example registers a service with command line arguments:
This pair of example commands registers two services with different configuration files. In this example, the numerical suffix and the configuration directory both reflect the port number that the service uses.
emsntsreg /itibemsd
C:\tibco\ems\bin "-config C:\tibco\ems\7222\tibemsd.conf" 7222 emsntsreg /itibemsd
C:\tibco\ems\bin "-config C:\tibco\ems\7223\tibemsd.conf" 7223
Notice these aspects of this example:
-config
argument, the service process finds the directory containing the main configuration file (tibemsd.conf
), and creates all secondary configuration files in that directory. In this example, each service uses a different configuration directory.tibemsd
cannot listen on the same port.To unregister a service, run the utility with this command line:
Both parameters are optional. If the service_name
is present, it must be tibemsd
. To supply the suffix
parameter, you must also supply the service_name
. When both parameters are absent, the utility removes the service named tibemsd
.
To view a command line summary, run the utility with this command line:
The Windows services applet displays the name of each registered service. For EMS services, it also displays this additional information:
TIBCO Enterprise Message Service™ User’s Guide Software Release 4.3, February 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |