Troubleshooting
Problem
Trying to build a SDK program that will read the Cube model file and change some of the parameters inside the model based on each client environment and publish in their respective environments.
PseudoTranslate.java sample is just an example to let you know that execution of SDK against Cognos for dynamic cube, but, is not working in IBM CA v11 while the same piece of code works fine in IBM BI v10.
Symptom
On execution, the code gives an error:
Server returned HTTP response code: 400 for URL: "http://<server>:9300/bi/v1/disp/FmCommand/model_open_stream".
This problem can also be seen if trying to call FMDSDK APIs through REST and the resulting error is :
RDS-ERR-1036 The file "/plugin/fmd.xml" could not be retrieved by Report Data Service.
Cause
Missing FMDSDK component from CA install.
In order to use the IBM Cognos Dynamic Cubes API in IBM Cognos Analytics (CA) 11.0.x, some files must be manually copied over to the CA server installation directory. The reason for this is that in CA 11.0.x, the CA Software Development Kit (SDK) installation cannot be done in the same directory as the CA server.
Environment
CA11 with SDK
Diagnosing The Problem
There is an APAR for this:
PH01332 PSEUDOTRANSLATE SDK SAMPLE DOESN'T WORK AS IT DID IN 10.2.2
Resolving The Problem
In order to use the IBM Cognos Dynamic Cubes API in IBM Cognos Analytics (CA) 11.0.x, some files must be manually copied over to the CA server installation directory. The reason for this is that in CA 11.0.x, the CA Software Development Kit (SDK) installation cannot be done in the same directory as the CA server.
Steps :
1) Install the CA 11.0.x SDK (The same release/version as the CA server)
2) Copy the following files from the CA 11.0.x SDK installation directory to each CA 11.0.x server installation directory having the "Report data service" enabled. This can be determined by looking at the "IBM Cognos services" under "Environment" in IBM Cognos Configuration tool. When copying, make sure to keep the same folder structure for each file.
templates\ccs\plugin\fmd.xml
webapps\p2pd\WEB-INF\lib\com.ibm.cognos.fmd.sdk.base.jar
webapps\p2pd\WEB-INF\lib\com.ibm.cognos.fmd.sdk.jar
webapps\p2pd\WEB-INF\lib\com.ibm.cognos.fmeng.jar
webapps\p2pd\WEB-INF\lib\com.ibm.cognos.fmeng.nls.jar
webapps\p2pd\WEB-INF\lib\org.eclipse.emf.common_2.6.0.v20100914-1218.jar
webapps\p2pd\WEB-INF\lib\org.eclipse.emf.ecore.change_2.5.1.v20100907-1643.jar
webapps\p2pd\WEB-INF\lib\org.eclipse.emf.ecore.xmi_2.5.0.v20100521-1846.jar
webapps\p2pd\WEB-INF\lib\org.eclipse.emf.ecore_2.6.1.v20100914-1218.jar
webapps\p2pd\WEB-INF\lib\org.eclipse.emf.edit_2.6.0.v20100914-1218.jar
vers\fmdsdk-all-app-11.0.7.10-inst.ver
vers\fmdsdk-all-app-inst.ver
NOTE : The files names containing versions could be named slighty different.
3) restart your CA environment for this to take effect.
Related Information
Was this topic helpful?
Document Information
Modified date:
08 March 2019
UID
ibm10744519