IBM Support

Unable to start Cognos 8 BI service: CAM-CRP-1085

Troubleshooting


Problem

Error CAM-CRP-1085 occurs with saving Cognos configuration or attempting to start IBM Cognos

Symptom

When attempting to verify that the security provider classes are loaded it fails with CAM-CRP-1085.
Reason: java.lang.ClassNotFoundException: org.bouncycastle125.jce.provider.BouncyCastleProvider

Cognos Configuration was unable to successfully use the cryptographic information with the current Java Runtime Environment located in C:/j2sdk.1.4.2_09/jre You may have to use the following Java Runtime Environment C:/Program Files/Cognos/c10_64/bin/jre/<version> or the appropriate JAR files must be installed in the Java Runtime Environment that you are using. For more information, see the installation and configuration guide."

Cause

JAVA_HOME pointing to an invalid or unsupported version of Java or the required .jar files have not been added from the Cognos default Java installation.

There are specific setup requirements before IBM Cognos can use a JAVA installation specified by JAVA_HOME.

Windows: IBM Cognos will use the java installed with the product, unless it finds JAVA_HOME set.
UNIX: A full version of JAVA is not provided. JAVA_HOME needs to point to an existing JRE installed on the server.

Resolving The Problem

The version of JAVA must be supported for the Cognos product version. More information can be obtained from the supported environments interactive reports:

http://www-01.ibm.com/support/docview.wss?uid=swg27042164

Specific files must be copied from the Cognos Java to the external Java you are using.

From the installation and configuration guide:

"If you want to use your own JRE and have JAVA_HOME set to that location on Windows or if you are installing on UNIX, you may have to update the Java environment for the cryptographic services.

The need to update your Java environment depends on the relative strength of jurisdictional policy .jar files in your environment. For example, if you already have stronger files in your environment than are provided with IBM Cognos, you do not have to update the environment. Doing so, in this case, may cause other applications to not work correctly.

If you update your Java environment, it is recommended that you make a backup copy of the files you overwrite. If other applications fail, you may have to replace the original jurisdictional policy .jar files.

On Windows, you can set JAVA_HOME as a system variable or a user variable. If you set it as a system variable, it may be necessary to restart your computer for it to take effect. If you set it as a user variable, set it so that the environment in which Tomcat is running can access it."


Steps

1) Ensure that the JAVA_HOME environment variable is set to the JRE location.

2) Copy the following files from the c10_location/bin/jre/<version>/lib/security directory to the Java_location/version/lib/security directory:

local_policy.jar
US_export_policy.jar

3) Copy the bcprov-jdk13-<id>.jar file from the c10_location/bin/jre/<version>/lib/ext directory to the Java_location/version/lib/ext directory.

4) If you use Sun JRE 1.4.2 on UNIX, ensure that you are using the correct startup file for the /dev/random device.
You must use /etc/init.d or /etc/rc3.d/f20random.
For more information, see your UNIX documentation.

5) Start Cognos Configuration.

6) Save the configuration.

[{"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Cognos Connection","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"10.2.2;10.2.1;10.2;10.1.1;10.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
15 June 2018

UID

swg21340241