Identity Manager won't connect Jasper Reports telling that Error: [Connection] Reports Folder does not exist" and in log that Not able to generate the token for the user iamuser

Document ID : KB000006703
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

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

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"

IDM logs

========

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

 

Environment:
CA Identity Manager 12.6.08 cr01Websphere 8.5.5 as App ServerJasperSoft 6.2 as Report Server
Cause:

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. 

Resolution:

Use IBM JDK to generate the keys files generated by JasperKeyGenUtil.bat if App Server is Websphere.