search cancel

Custom cabi (jaspersoft) report does not export in .pdf and /or .docx format

book

Article ID: 257482

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM) CA Unified Infrastructure Management On-Premise (Nimsoft / UIM) CA Unified Infrastructure Management SaaS (Nimsoft / UIM)

Issue/Introduction

Custom cabi report does not export in .pdf and /or .docx format

Error: There was an error on the server. Try again or contact site administrators. (Error UID: 2a43d6d7-7edf-4f6e-9182-9f21b2e3bba1)

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=GP74FklGlgYWsWJ8sCiNkg==

As per the Developer Tools output in the browser->Console:

GET http://wv2264/cabijs/rest_v2/hypermedia/resources?limit=10&sortBy=accessTime&accessType=VIEWED&type=reportUnit&type=adhocDataView&type=olapUnit&type=dashboard&relativeUriToExclude=/temp&relativeUriToExclude=/adhoc/topics&relativeUriToExclude=/public/adhoc/topics 500 

14:22:12.853 [request] [ERROR] - <?xml version="1.0" encoding="UTF-8" standalone="yes"?><errorDescriptor><errorCode>generic.error.message</errorCode><errorUid>2a43d6d7-7edf-4f6e-9182-9f21b2e3bba1</errorUid><message>There was an error on the server. Try again or contact site administrators. (Error UID: 2a43d6d7-7edf-4f6e-9182-9f21b2e3bba1)</message></errorDescriptor>

Environment

Release: 20.4

Cause

- Jaspersoft settings

Resolution

1. Cabi(Jasperserver) machine chrome/chromium is not installed only internet explorer was available so the customer had to install chrome on the cabi robot machine
(Please refer to this link:  https://community.jaspersoft.com/documentation/tibco-jasperreports-server-community-project-installation-guide/v8/selecting-0 

2. To change the chrome/chromium in js.config.properties  file (check Google Chrome properties on that machine and edit the following value.

     chrome.path = C:/Program Files/Google/Chrome/Application/chrome.exe

     Please refer to the Tibco administrators guide page number  210. Note that the pdf is attached.

     Also in the js.config, 

     changed chrome.page.timeout=600
     to
     chrome.page.timeout=900

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=33V0jRRrcBvPsEeR0xPSsA==

3. Restart cabi

4. Restart wasp

5. Custom report was then exportable in pdf and docx format.

Additional Information

Tibco Jaspersoft Administrators Guide v8.0

Attachments

TIB_js-jrs_8.0.0_Admin-Guide_1673366622325.pdf get_app