I'm running UIM with CABI and I have created custom dashboards: (Eg. : Creating a simple Ad Hoc report on a single metric for a group of devices to be able to set aggregation. (broadcom.com) )
When I try to export one of these custom dashboards to PDF it generates the following error:
Server Error: com.github.kklisura.cdt.launch.exceptions.ChromeProcessException: Failed starting chrome process.
jasperserver.log:
2023-12-13T09:34:10,546 ERROR SecureExceptionHandlerImpl,http-nio-80-exec-8:125 - com.github.kklisura.cdt.launch.exceptions.ChromeProcessException: Failed starting chrome process.. Failed starting chrome process. net.sf.jasperreports.engine.JRRuntimeException: com.github.kklisura.cdt.launch.exceptions.ChromeProcessException: Failed starting chrome process.
at com.jaspersoft.jasperreports.highcharts.charts.ChartPdfHandler.exportElement(ChartPdfHandler.java:45)
at net.sf.jasperreports.engine.export.JRPdfExporter.exportGenericElement(JRPdfExporter.java:3514)
We have added the chrome path correctly in the file named: js.config.properties.
Example: chrome.path=C:\Program Files\Google\Chrome\Application\chrome.exe
UIM 20.4.x
CABI 8.x
TIBCO/ CABI / Jasperreportserver configuration issue
To resolve this issue:
net.sf.jasperreports.chrome.page.isolate=true
net.sf.jasperreports.chrome.argument.remote-allow-origins=*
2. Open the file js.config.properties normally located: \Nimsoft\probes\service\wasp\webapps\cabijs\WEB-INF
a) comment the following line:
#phantomjs.path
b) If using backslashes in the chrome.path change them to forward slashes:
chrome.path=C:\Program Files\Google\Chrome\Application\chrome.exe
chrome.path=C:/Program Files/Google/Chrome/Application/chrome.exe
3) Restart the cabi and cabi wasp probe
5) Test exporting the custom dashboard to PDF Again.