Install the Adapter as a Service on Microsoft Windows


The following command lines show how to install the adapter as a service, start the service, stop the service, then uninstall the service. Because no properties file is specified, the default properties file, <adapter_acronym>agent.tra is used.

  1. Install the adapter as a service:
  2. adcomService --install

  3. Start the adapter service:
  4. adcomService --start

  5. Stop the adapter service:
  6. adcomService --stop

  7. Uninstall the adapter service:
  8. adcomService --uninstall

If the properties file is not in the default location with the default name, you must explicitly specify the absolute pathname of the properties file on the command line.

You can create multiple services for the same adapter configuration by specifying a different Service Name and Display Name for each. This may be required for load balancing, if the subscriber quality of service is set to Distributed Queue. Each adapter configuration must have a unique properties file and it must be specified on the command line. In addition, each property file should have a unique value for the following Service Name and Display Name properties:

   ntservice.name 
   ntservice.displayname 

For example, the following command line lines show how to install the adapter as a service, start the service, stop the service, then uninstall the service using the adcomSample.tra property file. The same commands can be used to install another adapter on the same machine, provided a different properties file is given.

  1. Install the adapter as a service:
  2. adcomService --install --propFile adcomSample.tra

  3. Start the adapter service:
  4. adcomService --start --propFile adcomSample.tra

  5. Stop the adapter service:
  6. adcomService --stop --propFile adcomSample.tra

  7. Uninstall the adapter service:
  8. adcomService --uninstall --propFile adcomSample.tra


TIBCO Adapter™ for COM User’s Guide
Software Release 5.3, September 2005
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com