ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Jaspersoft job and command fails with "peer not authenticated" error


Article ID: 227232


Updated On:


Clarity PPM On Premise Clarity PPM On Premise


The create and update Jasper User job fails with the error of "Failed to get an instance of ClarityJasperAdmin :: Exception getting ClarityJasperAdmin : peer not authenticated".

The issue surfaced post of an environment or after a DB refresh activity. 

The jaspersoft admin command (admin jaspersoft syncPPMContext -userName superuser -password superuser) also fails with the same error:


1/4/22, 2:04 AM (admin) Failed to update: jasperParameters
java.lang.Exception: Failed to update properties on the Jaspersoft server. Exception getting ClarityJasperAdmin : peer not authenticated


The problem was due to the incorrect version of Java being specified on the clarity system environment variable. 


Clarity 15.9.3 


Review the clarity properties.xml, and confirm the "Java" install location, ensure you are using the version of Java provided through the install package and ensure JAVA_HOME is set accordingly. 

The java -version command would help in confirming if the JAVA_HOME is setup correctly.