Running the Event Replicator Target Adapter as a System Service

#### Search Results

Search

# Running the Event Replicator Target Adapter as a System Service

To run the Event Replicator Target Adapter as a system service:

1. The Software AG ERTA Administration Service is installed when the Event Replicator Target Adapter is installed. Ordinarily, the Software AG ERTA Administration Service starts up automatically after it is installed or whenever the machine on which it is installed is started.

2. In the Target Adapter preferences on the Preferences dialog of the Administration tool, verify that the option Automatically Start and Stop via ERTA Administration Service is selected (checked). For more information on the Target Adapter preferences, read Setting Configuration File and Target Adapter Preferences.

   This will update the Software AG ERTA Administration Service configuration file so that it automatically starts the Event Replicator Target Adapter.

Note
On Windows systems, if Event Replicator Target Adapter Administration is used to manually start the Target Adapter, it will by default be running in the context of the logged in user and not under the ERTA Adminstration Service’s System user. If started this way, when the user logs out, the Target Adapter will stop. In order for the Target Adapter to truly be running as a service, you must start it by starting or restarting the ERTA Administration Service, which will start the Target Adapter under the System user context. A workaround for this is to configure the local Target Adapter as "Remote". This will cause the ERTA Administration Service to be called first to start the Target Adapter even when started using the Administration tool. Note there will be no local console opened when the Target Adapter is running in this way.