Create and Update Jaspersoft Users Job Fails

book

Article ID: 38556

calendar_today

Updated On:

Products

CLARITY PPM FOR ITG CLARITY PPM FEDERAL Clarity PPM On Premise

Issue/Introduction

When attempting to run the "Create and Update Jaspersoft Users" job, it fails with the following error:

 

Failed to get an instance of ClarityJasperAdmin :: User Id not found

NJS-0401: Execution of job failed.

<Please see attached file for image>

Job Properties - Log Entries


In the BG logs, the following is noted:

ERROR 2018-02-25 20:08:43,601 [Dispatch pool-5-thread-7 : [email protected] (tenant=clarity)] jaspersoft.ClarityJasperAdmin (clarity:admin:abc Create and Update Jaspersoft Users) Could not login to http://ppmserver:8081/reportservice with username PPM123_jasper

ERROR 2018-02-25 20:08:43,602 [Dispatch pool-5-thread-7 : [email protected] (tenant=clarity)] jaspersoft (clarity:admin:abc Create and Update Jaspersoft Users) Failed to get an instance of ClarityJasperAdmin :: 

com.ca.jasper.restAdapter.JasperException: User Id not found

Cause

There can be multiple causes for this problem as follows:
1. the Jasper keystore is corrupt
2. the Jasper parameters are out of sync between PPM and Jasper
3. the Jasper Context is out of sync between PPM and Jasper

Environment

CA PPM - ALL VERSIONS
On-Demand (SaaS) and On Premise

Resolution

Run the following commands:
1. admin jaspersoft keystore 
  • These commands generate the following files in <install>/config/ and <install>/META-INF/reporting/store/:
  • <orgname>.jks (key store file)
  • <orgname>.properties (information about the key)
  • Copy these files to <Tomcat>/webapps/<jasperwebcontext>/WEB-INF/config where Jaspersoft is installed. For Example: <Tomcat>/webapps/reportservice/WEB-INF/config
2. admin update jasperParameters 
3. admin jaspersoft syncPPMContext -userName superuser -password superuser

If you are running a version of CA PPM that is 14.2 or lower, the command in step 3 is not valid in that version.  Following the first two steps should resolve the issue.

Attachments

1558703052591000038556_sktwi1f5rjvs16l6n.jpeg get_app
1558703050580000038556_sktwi1f5rjvs16l6m.jpeg get_app