Stopping the RFC Adapter

Stop the RFC adapter either in unmanaged or managed mode. In unmanaged mode, the adapter is stopped separately from the ESP-short-name project, and in managed mode, the adapter is stopped with the ESP-short-name project. To stop the adapter from the command line, execute the stop or immediatestop command. The immediatestop command stops the adapter without waiting for any unprocessed records to finish processing..

When you are running the adapter in unmanaged mode, stop the adapter first before stopping the project. Failing to do so results in errors.

Mode Steps
Unmanaged, from the command line

Open a terminal window and enter:

Windows:
  • cd %ESP_HOME%\adapters\rfc\bin
  • stop.bat <adapter configuration file name> or
  • immediatestop.bat <adapter configuration file name>
UNIX:
  • cd $ESP_HOME/adapters/rfc/bin
  • ./stop.sh <adapter configuration file name> or
  • ./immediatestop.sh <adapter configuration file name>
Unmanaged, using the stop command files
From the adapter directory (see directories above):
  1. Stop the ESP node by running stop_node.bat or stop_node.sh in the adapter instance folder.
  2. Stop the adapter by running stop_adapter.bat or stop_adapter.sh
Managed
Prerequisite: The adapter is attached to a project using the ATTACH ADAPTER statement.
  1. Stop the project to which the adapter is attached.
    Windows:
    cd %ESP_HOME%\cluster\nodes\<node_name> esp_cluster_admin
    --uri=esp[s]://<host>:19011 --username=<name> --password=<pass> --
     stop project <workspace-name>/<project-name>
    UNIX:
    cd $ESP_HOME/cluster/nodes/<node_name> esp_cluster_admin
    --uri=esp[s]://<host>:19011 --username=<name> --password=<pass> -- stop project <workspace-name>/<project-name>

    You can also stop the adapter by issuing the stop adapter command from the esp_client tool.