The Orphan Accounts Report in Identity Manager (IM) fails to generate for specific endpoints (e.g., "a custom endpoint to API Gateway"), resulting in indefinite loading and timeouts. This issue is not observed for other endpoints (e.g., "Active Directory Endpoint") even with larger data volumes. JasperServer logs indicate database-related errors such as "Error executing SQL statement for: Query.", "No more data available to read.", "ORA-01013: user requested cancel of current operation", "Report has been cancelled", and "Error closing connection. / Already closed."
dentity Manager (IM) - VAAP 14.5 GA (without SP1 or CP)
JasperServer version 7.1.0
Oracle Database
The primary suspected causes for the report failure are:
1. JasperServer Version Incompatibility: The JasperServer version 7.1.0 is not the recommended version (IM supports JasperServer 8.2), which may lead to integration issues or unexpected behavior with complex reports.
2. Database Connectivity/Timeout Issues: The Oracle database logs indicate "ORA-01013: user requested cancel of current operation," suggesting that the database is cancelling long-running queries, likely due to timeouts or resource limitations when attempting to execute the complex SQL query for the problematic endpoint.
The direct issue of the standard Orphan Accounts Report failing to generate was not resolved because client was not able to upgrading JasperServer in this instance. Instead, a successful workaround was implemented:
A custom report was created directly within JasperSoft. This custom report queries the Identity Manager database tables (specifically IMREPORT6 and IMRUSERACCOUNTRELATIONSHIP) to extract the necessary orphan account information. This approach bypassed the problematic standard report functionality and successfully delivered the required data to the client.
Best Practices: