Connecting to TIBCO BusinessWorks Container Edition Runtime using the HTTP Client
You can connect to the TIBCO BusinessWorks Container Edition runtime environment by using the HTTP Client. The preferred way to use is curl.
- Procedure
- 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 Dockerdocker exec -it <container_id> bash
- Run the following OSGi command 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 BWEngine: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