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.
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.