CA Identity ManagerCA Identity GovernanceCA Identity PortalCA Identity Suite
Issue/Introduction
When trying to run a report you get the below error:
ERROR [com.netegrity.webapp.page.reporting.pages.JasperReportTabPage] (default task-62) jdbc connetion object : 'rptParamConn' does not exist - can not run report java.lang.StringIndexOutOfBoundsException: String index out of range: -1
Environment
Release : 14.x
Component : CA IDENTITY SUITE (VIRTUAL APPLIANCE)
Cause
This can happen when you manually edit or alter the data source within Jasper Report Server
Resolution
In Jasper Server
Delete the organization
Create a new organization named IAM
Create your user against the IAM organization
Import the CA Identity Manager Reports zip file into Jasper
There are 2 types of zip file, i.e. Jasper_sql_reports.zip and Jasper_oracle_reports.zip under "IAM Suite\IdentityManager\tools\imreport\ReportDefinitions\IM Standard Reports" directory.
We need to import Jasper_oracle_reports.zip if the snapshot database is running on Oracle. We need to import Jasper_sql_reports.zip if the snapshot database is running on MS SQL.
Adjust permissions at the IAM level setting your created user from step 3 with read only access
Navigate down to IAM > IM > datasources and right click datasources
Set the permissions on the datasources folder as read + write for the user created in step 3. DO NOT EDIT THE DATASOURCE
Navigate to IDM and create your snapshot.
Once the snapshot is created, request the report. When you request the report, the datasource will be updated on Jasper Server.
Additional Information
IDM modifies the data source when you request the report.