Stopping the JMS Object Array Adapter

Stop the JMS Object Array adapter either in unmanaged or managed mode. In unmanaged mode, the adapter is stopped separately from the ESP project, and in managed mode, the adapter is stopped with the ESP project. Stop the adapter either from the command line or using the stop command files when running in unmanaged mode.

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:
  • For the JMS Object Array Input adapter: cd %ESP_HOME%\adapters\framework\instances\jms_objlist_input
  • For the JMS Object Array Output adapter: cd %ESP_HOME%\adapters\framework\instances\jms_objlist_output
  • stop_adapter.bat <adapter configuration file name>
UNIX:
  • For the JMS Object Array Input adapter: cd $ESP_HOME/adapters/framework/instances/jms_objlist_input
  • For the JMS Object Array Output adapter: cd $ESP_HOME/adapters/framework/instances/jms_objlist_output
  • ./stop_adapter.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.