Start Command

Use the start.sh script to publish data from the Server to RAP.

Syntax

To use the start.sh script, create the $ESP_HOME/adapters/rap_out/lib directory and copy the platform specific libpublisher.so to it. Verify that libodbc.so is installed with your RAP installation, and if it is not present, install it. Create a symbolic link with the libodbc.so.1 file from your RAP installation to libodbc.so version 1.0.0, and put this file in the $ESP_HOME/adapters/rap_out/lib directory.

The Event Stream Processor installer installs the $ESP_HOME/adapters/rap_out/lang directory and includes these files:
  • demofeedhandler_en_US.properties
  • publisher_en_US.properties
  • templateprocessor_en_US.properties
  • util_en_US.properties
If you have more recent versions of these files, copy them over to the $ESP_HOME/adapters/rap_out/lang directory. You can also update the $ESP_HOME/adapters/rap_out/templates directory if you have more recent versions of its contents.
Note: The start.sh is an implementation of the esp_rap_out_adapter command.
esp_rap_out_adapter -f configFile -t templateDir -p publisherConfigDir &

Required Arguments

Argument Description
-f configFile

The full path of the configuration file that specifies the streams from Event Stream Processor that provide data to RAP. Default value is ../config/espfeedhandler.xml

-t templateDir

The full path to the directory containing the RDS templates that map columns in the Event Stream Processor streams to tables and columns of RAP. Default value is ../templates

-p PublisherConfigDir

The full path to the directory containing the publisher configuration file, which defines the multicast address used by the RAP subscriber. Default value is ../config

&

(Optional) Run the adapter in the background.

Related tasks
Starting the RAP Adapter