Dev Test Portal not able to load any of the metrics Reports
search cancel

Dev Test Portal not able to load any of the metrics Reports

book

Article ID: 259539

calendar_today

Updated On:

Products

Service Virtualization CA Application Test

Issue/Introduction

After upgrade from 10.6 to 10.7.2 noticed that DevTest Portal doesn't show the list of Reports for VSE, Testing or CAI. It shows as loading..... Network trace shows Internal Server Error 500. 

The Portal Grails log show the below errors:

Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target  at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:397) ~[?:1.8.0_232]  at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:302) ~[?:1.8.0_232]  at sun.security.validator.Validator.validate(Validator.java:262) ~[?:1.8.0_232]

WARN  org.springframework.cloud.netflix.zuul.filters.post.SendErrorFilter - Error during filtering
com.netflix.zuul.exception.ZuulException: Forwarding error
 at org.springframework.cloud.netflix.zuul.filters.route.SimpleHostRoutingFilter.handleException(SimpleHostRoutingFilter.java:261) ~[spring-cloud-netflix-zuul-2.1.5.RELEASE.jar:2.1.5.RELEASE]

Environment

Release : 10.7.2

Cause

With the new jetty upgraded version in 10.7.2, truststore is mandated with Portal to get the reports from Jasper server. As Portal is not configured with truststore and caused the issue. 

Resolution

Creating a trustore file with root and intermediate certs (exported from the Registry server) and configuring the below properties in PortalService.vmoptions file and restarting Portal service should resolve the issue.
-Djavax.net.ssl.trustStore=/DevTest_Home/truststore.jks
-Djavax.net.ssl.trustStorePassword=xxxxxxxx