Products | Versions |
---|---|
TIBCO BusinessWorks Container Edition | 2.4.5 |
This article describes the steps involved troubleshooting network issues between the application and BWCE monitoring containers.
To make BWCE monitoring work, the network connectivity between the BWCE monitoring container and the BWCE application container should exists and the respective ports should be reachable. Please follow these steps to make sure that the connectivity works.
Step 1 : Enable the BWCE application debug trace file by setting “BW_LOGLEVEL” to debug.
https://docs.tibco.com/pub/bwce-aws/2.4.5/doc/html/GUID-7509D54C-3609-4A6E-B9E5-80252B42C103.html
Step 2 : Find the following section from the debug log file
23:37:06.279 DEBUG [Thread-15] c.t.b.a.monitoring.Register - Healthcheck URL http://<MonitorApp_IP>:8087/api/v1/monitor/health
23:37:06.280 DEBUG [Thread-15] c.t.b.a.monitoring.Register - Registering with Service URL http://<MonitorApp_IP>:8087/api/v1/register and Payload [{"host":"<application_container_ip>","port":"8090","instanceName":"bc95962ff04f","appName":"bc95962ff04f","product_version":"2.4.5 V45 2019-07-18"}]
Step 3 : Login to the application container by using the <application_container_ip>.
For docker environment, this can be done by using the following commands
docker ps
docker exec -it <containerid> sh
For other cloud platform, please refer their product documentation.
Step 4 : Run the following command.
*If wget is not installed, please install it by using "apt-get install wget" command
wget -q -O - http://<MonitorApp_IP>/api/v1/monitor/health
It should show the following info
{"status":"running"}
Step 4 : Login to the monitoring app container by following the step 3 and run the following command
wget -q -O - http://<application_container_ip>:8090/bw/framework.json/state
It should show the following info
{
"state" : "Running",
"name" : "standalone",
"pid" : "1",
"uptime" : 1083276,
"configState" : "inSync",
"details" : [ "Appnode (OSGi Framework) started in 11 seconds" ]
}
If the step 3 or 4 fails, please contact the network administrator to fix the network connectivity problem.