Show TOC

Starting the HTTP AdapterLocate this document in the navigation structure

To start the HTTP adapter from the command line, start Event Stream Processor and execute the start command.

Procedure

  1. Start Event Stream Processor.
    On Windows:
    1. Start the cluster.
    2. Compile CCL to create CCX.
      %STREAMING_HOME%\bin\streamingcompiler -i <modelname>.ccl -o <modelname>.ccx
    3. Deploy the project on the cluster.
      %STREAMING_HOME%\bin\streamingclusteradmin" --uri=esp[s]://localhost:19011 --username=<username> --password=<password> --add_project --workspace-name=<yourworkspacename> --project-name=<yourprojectname> --ccx=<modename>.ccx
    4. Start the deployed project on the cluster.
      %STREAMING_HOME%\bin\streamingclusteradmin" --uri=esp[s]://localhost:19011 --username=<username> --password=<password> --start_project --workspace-name=<yourworkspacename> --project-name=<yourprojectname>
    On UNIX:
    1. Start the cluster.
    2. Compile CCL to create CCX.
      $STREAMING_HOME/bin/streamingcompiler -i <modelname>.ccl -o <modelname>.ccx
    3. Deploy the project on the cluster.
      $STREAMING_HOME/bin/streamingclusteradmin" --uri=esp[s]://localhost:19011 --username=<username> --password=<password> --add_project --workspace-name=<yourworkspacename> --project-name=<yourprojectname> --ccx=<modelname>.ccx
      $STREAMING_HOME/bin/streamingclusteradmin" --uri=esp[s]://localhost:19011 --username=<username> --password=<password> --add_project --workspace-name=<yourworkspacename> --project-name=<yourprojectname> --ccx=<modelname>.ccx
    4. Start the deployed project on the cluster.
      $STREAMING_HOME/bin/streamingclusteradmin" --uri=esp[s]://localhost:19011 --username=<username> --password=<password> --start_project --workspace-name=<yourworkspacename> --project-name=<yourprojectname>
  2. Start the adapter.
    Operating System Step
    UNIX Open a terminal window and enter:

    cd $STREAMING_HOME/adapters/http/bin

    ./adapter.sh <configuration file path> start

    Windows Open a command window and enter:

    cd %STREAMING_HOME%/adapters/http/bin

    adapter.bat <configuration file path> start