Resolution: 1). From the Windows machine where your EMS server exists, edit the TIBCOServers-EMS_7222.tra file under /tibco/tra/domain/DomainName/application/TIBCOServers directory, adding the following:
Example:
ntservice.name=TestEMS
ntservice.displayname= EMS_SERVER
ntservice.starttype=automatic
ntservice.binary.path.absolute=C\:/tibco/tra/<version>/bin/wrap.exe
ntservice.interactive=false
Note that you can choose your own ntservice name and display name in the above definition. They can include the domain name and machine name, so that each EMS server can be added into multiple domains to be managed.
2). Register this as an NT service using the wrap executable.
>wrap --install --propFile <Tibco home>\tra\domain\DomainName\application\TIBCOServers\TIBCOServers-EMS_7222.tra
Make sure the Windows Services Control Panel (service.msc) window is closed before you run the command above. We have observed locking prevents registering the NT service if the Windows Services Control Panel (Services msc) window is open.
3). The NT service should be successfully installed.
4). Open the Windows Services Control Panel. Try to start EMS_SERVER service.
5). Check to make sure the wrap and tibemsd process have been successfully started using Task manager.
6. Check the TIBCO Administrator GUI to see if EMS Server is in Running state.
Disclaimer:
- The above steps are not certified by QA. This solution is provided "as is".
- In our local test, the installation of EMS server NT service worked.
- The EMS server can be successfully started and the status can be correctly reflected in the admin GUI. However, in some cases it has been observed that the status in the Admin GUI is not reflected correctly. In such an event we will ask the customer to start the EMS plugin server script from <Tibco home>\tra\domain\DomainName\application\TIBCOServers\ .
- The only problem observed is that once you started the EMS server from the NT service, the status of the NT service is always shown as "starting" in the Windows Services Control Panel (Services msc).