Steps to reproduce the problem
1. Access Report Server JasperReport web console
2. Create an organization called IAM
3. Create a user within the organization called iamuser
4. Import the CA Identity Manager Reports File using the command:
js-import --input-zip "Jasper_sql_reports.zip"
5. Execute the bat -> IAM Suite\Identity Manager\tools\JasperKeyGen\JasperKeyGenUtil.bat
JasperKeyGenUtil.bat uses JAVA_HOME to generate the ig.jks generally to Oracle JDK.
However if we configure JAVA_HOME to point to IBMJDK this will use IBM Websphere libraries instead of Oracle libraries.
An example of JAVA_HOME variable set before to run the JasperKeyGenUtil.bat is point to this example path (need to ADAPT based in your environment path installed websphere for CA Identity Manager/Identity Governance)
JAVA_HOME=C:\Program Files (x86)\IBM\WebSphere\AppServer\java_1.7_64
You may need also adapt JAVA_HOME to use Weblogic JDK when CA Identity Manager deployed in this kind of application server. Use the same example provided by Webpshere.
end of Note
to generate iam.jks and iam.properties.
6. Copy iam.jks and iam.properties to:
In each was node -> /opt/was/profiles/WASProfile01/properties
In the report server -> E:\Java\Tomcat8.5\webapps\cabiserver\WEB-INF\config
7. In IDM -> System - Reporting - Report Server Connection
We complete the connection parameters:
Report Server URL -> http://servername.domain.com:28080/jasper-pro
User ID -> iamuser
Password -> xxxx
A message appears: "Error: [Connection] Reports Folder does not exist"
ERROR [com.ca.ims.jasperreporting.JasperUtils] Exception occured while generating the jasper token java.lang.IllegalStateException: Not initialized
ERROR [com.ca.ims.jasperreporting.JasperUtils] Exception occoured while getting the Reports from a folder reports in JasperImpl.getReportsListFromFolder(). Exception details are com.ca.ims.jasperreporting.JasperException: Not able to generate the token for the user iamuser
Using Websphere is that WAS need to be generated with IBM JDK,
Oracle JDK generated keystore files wouldn't be compatible with IBM JDK as underlying keystore file formats are different.
Use IBM JDK to generate the keys files generated by JasperKeyGenUtil.bat if App Server is Websphere.