Symptoms:
Red bar with RIB timeout error shows up in Views in CA Performance Center
Environment:
Applies to all Versions of CAPC released to date
Cause:
The query does not a response in the set timeframe.
Either because its overloaded, the Network is slow or the report is containing a lot of data
Workaround:
There are three sections you can tweek, you may want to try increasing the timeout step by step in order to find the correct setting.
1. Change timeout for javascript:
a) In a browser, go to this url after subtituting "<yourCAPCHost>". You will be prompted to log in - use your CAPC web 'admin' account.
http://<yourCAPCHost>:8181/pc/center/admin/debug/attrs
b) Find the attribute called "Client.ServerExecutionTimeoutMs"
c) Change the value to a large enough number, in milliseconds, to allow the query to run (for example, use 600000 to allow 10 minutes)
d) Click on the "Update" button to apply the change.
2. Change timeout for the request from console to the DM:
a) Backup the portal.console.properties file
cp /opt/CA/PerformanceCenter/PC/webapps/pc/WEB-INF/cfg/portal.console.properties /opt/CA/PerformanceCenter/PC/webapps/pc/WEB-
INF/cfg/portal.console.properties.orig
b) Open this file in an editor:
vi /opt/CA/PerformanceCenter/PC/webapps/pc/WEB-INF/cfg/portal.console.properties
c) Change the setting for "web.cxf.client.services_timeout" to a high enough value to allow query to run (in milliseconds, for example, set to 600000 to allow 10
minutes)
web.cxf.client.services_timeout=600000
3. Change timeout for how long the DM waits for a datasource to respond:
a) Backup the rib-engine.properties file
cp /opt/CA/PerformanceCenter/DM/webapps/dm/WEB-INF/rib-engine.properties /opt/CA/PerformanceCenter/DM/webapps/dm/WEB-INF/rib-engine.properties.orig
b) Open this file in an editor:
vi /opt/CA/PerformanceCenter/DM/webapps/dm/WEB-INF/rib-engine.properties
c) Change the setting for "rib.engine.source_query_timeout_sec" to a high enough value to allow query to run (in seconds, for example, set to 600 to allow 10 minutes)
rib.engine.source_query_timeout_sec=600