Report Server Connection task Test Connection running to error: Java Script Exception undefined is not a function

Document ID : KB000072764
Last Modified Date : 08/03/2018
Show Technical Document Details
Issue:

We have a CA Identity Suite vApp 14.1 environment and we are trying to integrate with a Jasper 6.3 server.
When we run 'Report Server Connection' task and click the Test Connection, we get the following error message in server.log and the connection test can not pass.

2018-02-27 06:15:02,505 ERROR [ims.tmt.tabhandler] (default task-13) Java Script Exception undefined is not a function. Message:undefined is not a function.

Environment:
CA Identity Suite Virtual Appliance 14.1
Cause:
On this issue, the  CA Identity Suite Virtual Appliance 14.1 was upgraded from Virtual Appliance 14.0, the role definition for 'Report Server Connection' task is still the old version from  vApp 14.0 and caused the issue.
Resolution:
  1. get a copy of /opt/CA/wildfly-idm/standalone/deployments/iam_im.ear/user_console.war/WEB-INF/lib/cajasperreports-config-roledef.jar from the vApp machine
  2. extract META-INF/CAJasperReportServerRoleDef.xml from the cajasperreports-config-roledef.jar
  3. visit IM Management Console, navigate to Home › Environments › identityEnv › Roles
  4. click Export button to back up the current role definition file
  5. visit IM Management Console, navigate to Home › Environments › identityEnv › Roles
  6. click Import button and import the CAJasperReportServerRoleDef.xml file which you extracted from cajasperreports-config-roledef.jar
  7. restart im environment