Connecting to the Runtime by using HTTP Client

You can connect to the TIBCO BusinessWorks™ Container Edition runtime environment by using HTTP Client. Preferred way of using is Curl.

Procedure

  1. Open a terminal window to start an interactive session with the application container.
    Run the following commands for applications deployed in VMware Tanzu
    cf ssh <application_name>
    Run the following commands for applications deployed in Docker
    docker exec -it <container_id> bash
  2. Execute the following OSGi commang in the container terminal window in the following format:
    curl -v localhost:8090/bw/framework.json/osgi?command=<osgi_command>
    For Example:
    • To print information about BWEngines:
      curl -v http://localhost:8090/bw/framework.json/osgi?command=le
      Note: For applications deployed in Cloud Foundry, if the applications are not using HTTP connection resource or FTL connection resource or TCP connection resource then port 8080 is used for connecting to OSGI.
    • To pause all jobs of TIBCO BusinessWorks Container Edition applications:
      curl -v http://localhost:8090/bw/framework.json/osgi?command=pauseapp%20-v
      %201.0%20tibco.bw.sample.binding.rest.BookStore.application