Create and Update Jaspersoft users job failing

book

Article ID: 142579

calendar_today

Updated On:

Products

Clarity PPM On Premise

Issue/Introduction

After configuring Jaspersoft to use ssh encryption, we get below error when running a report job from Clarity:

Please suggest what might be causing it.

...Create and Update Jaspersoft Users) Login failed: httpclient.io.error - No X509TrustManager implementation available

ERROR 2019-12-13 16:21:54,220 [Dispatch Create and Update Jaspersoft Users : [email protected] (tenant=clarity)] jasper.ClarityJasperAdmin (clarity:username:...:Create and Update Jaspersoft Users) Could not login to https://jaspersofthostname:8443/reportservice with username ppmjasperadmin
com.ca.jasper.restAdapter.JasperException: No X509TrustManager implementation available
        at com.ca.jasper.restAdapter.JasperRestAdapter.sendRequest(JasperRestAdapter.java:861)
        at com.ca.jasper.restAdapter.JasperRestAdapter.restService(JasperRestAdapter.java:535)
        at com.ca.jasper.restAdapter.JasperRestAdapter.postService(JasperRestAdapter.java:426)
        at com.ca.jasper.restAdapter.JasperRestAdapter.login(JasperRestAdapter.java:183)
        at com.niku.reporting.jasper.ClarityJasperAdmin.loginAs(ClarityJasperAdmin.java:305)
        at com.niku.reporting.jasper.ClarityJasperAdmin.login(ClarityJasperAdmin.java:260)
        at com.niku.reporting.jasper.ClarityJasperAdmin.<init>(ClarityJasperAdmin.java:176)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at com.niku.union.reporting.jaspersoft.ClarityJasperAdminFactory.createInstance(ClarityJasperAdminFactory.java:39)
        at com.niku.union.reporting.jaspersoft.ClarityJasperAdminFactory.createInstance(ClarityJasperAdminFactory.java:95)
        at com.niku.reporting.jobs.jasper.ClarityJasperUserSyncJob.init(ClarityJasperUserSyncJob.java:48)
        at com.niku.reporting.jobs.jasper.ClarityJasperUserSyncJob.scheduledEventFired(ClarityJasperUserSyncJob.java:76)
        at com.niku.njs.Dispatcher$BGTask.run(Dispatcher.java:657)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)

ERROR 2019-12-13 16:21:54,224 [Dispatch Create and Update Jaspersoft Users : [email protected] (tenant=clarity)] jaspersoft (clarity:username:...:Create and Update Jaspersoft Users) Failed to get an instance of ClarityJasperAdmin :: 

java.lang.RuntimeException: Exception getting ClarityJasperAdmin : No X509TrustManager implementation available
        at com.niku.union.reporting.jaspersoft.ClarityJasperAdminFactory.createInstance(ClarityJasperAdminFactory.java:73)

Environment

Release : 15.7
Component : CA PPM JASPERSOFT

Resolution

We added below parameters in JAVA VM parameters for app, NSA and BG.

After adding this, Jasper status shows available and job runs fine from clarity application.

-Djavax.net.ssl.trustStore=“cacerts full path" -Djavax.net.ssl.trustStorePassword=password -Djavax.net.ssl.trustStoreType=jks

Found this from below link
https://doc.nuxeo.com/nxdoc/trust-store-and-key-store-configuration/