![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
Some situations require the EMS server to start automatically. You can satisfy this requirement by registering it with the Windows service manager. The emsntsrg utility facilitates registry.The emsntsrg utility registers or unregisters the EMS server as a Windows service.Locate this utility program as an executable file in the EMS bin directory.
Use this directory pathname to specify the location of the emsntsct.exe executable. The emsntsrg utility registers the emsntsct.exe program as a windows service. The emsntsct.exe program then invokes the associated tibemsd. Use this directory pathname to locate the service executable, tibemsd. Required. To register tibemsd as a Windows service, run the utility with this command line:This simple example registers one tibemsd service:emsntsrg /i tibemsd C:\tibco\ems\8.4\bin C:\tibco\ems\8.4\binemsntsrg /i tibemsd C:\tibco\ems\8.4\bin C:\tibco\ems\8.4\bin "-trace DEFAULT"This pair of example commands registers two tibemsd services with different configuration files. In this example, the numerical suffix and the configuration directory both reflect the port number that the service uses.emsntsrg /i tibemsd C:\tibco\ems\8.4\bin C:\tibco\ems\8.4\bin "-config C:\tibco\ems\8.4\7222\tibemsd.conf" 7222emsntsrg /i tibemsd C:\tibco\ems\8.4\bin C:\tibco\ems\8.4\bin "-config C:\tibco\ems\8.4\7223\tibemsd.conf" 7223
• When installing tibemsd, if you supply a -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.
• When you register several EMS services, you must avoid configuration conflicts. For example, two instances of tibemsd cannot listen on the same port.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 services named tibemsd.
• The process ID (PID)—when the service is running
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |