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)
As per the Developer Tools output in the browser->Console:
GET http://<xxxx>/xxxxxx/xxxxxx/xxxxxxxx/xxxxxxxx?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>
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
3. Restart cabi
4. Restart wasp
5. Custom report was then exportable in pdf and docx format.
Tibco Jaspersoft Administrators Guide v8.0
If you choose to continue the Tibco Jaspersoft installation without Chrome/Chromium, reports cannot be exported to PDF, DOCX, and other output formats.