RAP Adapter Enhancements and Updates

This section discusses the increased functionality of the RAP - The Trading Edition® adapter.

RAP adapter is now available as both an in-process and out-of-process adapter. The in-process adapter is only available as an output adapter.

The following improvements have been made:

The current instructions in Sybase CEP Integration Guide> Sybase CEP Adapters> Adapters Supplied by Sybase CEP> RAP - The Trading Edition Adapters> Setting up UA for RAP - The Trading Edition Adapters are no longer applicable. Use the following instructions instead:

Unified Agent (UA) is a Java based agent that gathers statistics from a RAP publisher. It uses JMX technology and runs parallel to the server it monitors or administers.

Sybase recommends that you copy the bin/rap/ua directory and use a different ua directory for each running instance of a RAP adapter.

To start the UA agent and configure the RAP in-process or out-of-process adapter to package UA statistics:
  1. In bin/rap/ua/bin/myenv, set appropriate values for the following envars as specified in the "TODO" instructions at the top of the file:
    • SYBASE_UA
    • SYBASE_JRE
    • UA_RMI_PORT
    Note: UA_RMI_PORT in myenv should match the port property value in service-config.xml.
  2. In bin/rap/ua/plugins/com.sybase.rap.rapservice/agent-plugin.xml, set appropriate values for the following properties as specified in the file:
    • rap.service_host
    • rap.service_port
    • rap.service_startCommand
    • rap.service_pluginsubtype
    • rap.service_plugindisplayname
    If the bin/rap directory link points to the rap-r4 directory, set the following properties in agent-plugin.xml also:
    • rap.service_logFile
    • rap.service_configFileDir
    • rap.service_componentTemplateDir
  3. In /rap/ua/services/RMI/service-config.xml, set the appropriate value for the following property as specified in the file:
    • port
Note: The AdminPort node value in the adapter publisher.xml should match the rap.service_port property value in agent-plugin.xml.

For more information on configuring and using the RAP adapter, see Sybase CEP Integration Guide> Sybase CEP Adapters> Adapters Supplied by Sybase CEP> RAP - The Trading Edition Adapters.