Show TOC

Stopping the RFC AdapterLocate this document in the navigation structure

Stop the RFC adapter either in unmanaged, managed, or cluster-managed mode. In unmanaged and cluster-managed mode, the adapter is stopped separately from the ESP project, and in managed mode, the adapter is stopped with the ESP 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.

Context

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

Procedure


Mode Steps
Unmanaged, from the command line

Open a terminal window and enter:

Windows:
  • cd %STREAMING_HOME%\adapters\rfc\bin
  • stop.bat <adapter configuration file name> or
  • immediatestop.bat <adapter configuration file name>
UNIX:
  • cd $STREAMING_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 %STREAMING_HOME%\cluster\examples streamingclusteradmin
    --uri=esp[s]://localhost:19011 --username=<name> --password=<password> --
     stop project <workspace-name>/<project-name>
    UNIX:
    cd $STREAMING_HOME/cluster/examples streamingclusteradmin
    --uri=esp[s]://localhost:19011 --username=<name> --password=<password> -- stop project <workspace-name>/<project-name>

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

Cluster-Managed Mode
  1. Stop the adapter.
    STREAMING_HOME/bin/streamingclusteradmin --uri=esp[s]://localhost:19011
    --username=<user> --password=<password> --stop_adapter --
    workspace-name=<workspacename> --adapter-name=<adaptername>