Creating a Startup Script

Create a shell script to start the feed handler.

Use the demofeedhandler.sh or fastfeedhandler.sh script as an example.

  1. Set the library path environment variable to point to the publisher shared library: $RAP/PublisherAPI/lib/libpublisher.so.
    Operating system Variable
    AIX LIB_PATH
    all others LD_LIBRARY_PATH
    See the demo feed handler startup script for an example of how to set the library path.
  2. Set and export RAP_LOCALE to the locale to be used in resource bundles for logging:
    • en_US (default for demo and FAST feed handlers)
    • Other locale in the form cc_LC , where cc is the two-digit country code, and LC is the two-digit language code
    For example, for Japanese resource bundles, set:
    RAP_LOCALE=ja_JP
    export RAP_LOCALE
  3. (Optional) Include any other startup actions.
  4. Invoke the executable.