Blank HTML report outputs in Cognos Mobile iPad app
Reports may come up with blank pages through the IBM Cognos Mobile app if the gateway requests are blocked. IBM Cognos Mobile requires access to a configured gateway to generate report content.
HTML report output is blank when viewed through IBM Cognos Mobile
Note: Active reports and Cognos Workspace reports are not affected.
A request from the Mobile server to the gateway to acquire resources has failed. The resulting report output is missing resources that are required to view the output.
IBM Cognos Mobile 10.2.1 in a Cognos BI environment that is configured to use CA SiteMinder for authentication.
For example, if SiteMinder is configured to protect resources with the file extensions .css and .js, the Cognos Mobile server, which has not authenticated with SiteMinder, cannot access these types of resources.
Diagnosing the problem
With debug logging enabled, the cogmob.log file contains entries such as:
2013-05-07 12:48:18,784 [mob-worker-4] ERROR com.cognos.mobile.server.html.HTMLResourceHandler - Failed with status: 404 while inspecting static resource: /skins/corporate/viewer/QSRVCommon.css
2013-05-07 12:48:18,784 [mob-worker-4] WARN com.cognos.mobile.server.html.HTMLResourceHandler - Failed to process resource: QSRVCommon.css
Resolving the problem
In SiteMinder configuration, in Agent Conf Objects, select the applicable default settings node and make the following changes:
(Note: the options may be different for various versions of CA SiteMinder, the options presented are valid for Version 6).
- Edit the IgnoreExt list by adding the .js and .css file extensions.
This will likely resolve the issue and no further changes will be required. If the issue is not resolved, proceed to the next step.
- Disable TransientIPChecking and PersistentIPChecking options.
- If the above options are enabled, whitelist the IP address or addresses of the server or servers running IBM Cognos Mobile, to allow the mobile server full access to the configured gateway in order to retrieve all resources to be stored in the inbox and delivered to the client.