search cancel

Chrome and/or PhantomJS not properly configured for server side rendering error in Jasper


Article ID: 255240


Updated On:


CA Spectrum


We have CABI Jaspersoft installed and we have problems in some specific reports (Not all) to be exported to PDF or any other format

See file attached to the case with the details of only the reports that, when exported, show the following 
Error Message
net.sf.jasperreports.engine.JRRuntimeException: Chrome and/or PhantomJS not properly configured for server side rendering

This error occurs using any web browser, we tested with Google Chrome and Firefox.
the current version of Spectrum is:
The operating system where Jaspersof is installed is:  RedHat 7.9


Release : 21.2


There was no "chrome" folder under


That indicates that the installation was unsuccessful.


The installation logs didn't show a clear error or problem, other than no mention of the chrome installation. Next is an example of a successful chrome installation.

2022-11-17 15:47:18 INFO  ComponentInstall.setPermissions():947 - /opt/CA/SharedComponents/CA Business Intelligence/apache-tomcat/webapps/jasperserver-pro/chrome
2022-11-17 15:47:18 DEBUG CABIProcessBuilder.cabiProcess():74 - Setting the processbuilder directory to /opt/CA/SharedComponents/CA Business Intelligence/apache-tomcat/webapps/jasperserver-pro/chrome

The customer evidenced that the failure was caused because the SSH session with the CABI server was closed due a timeout when executing the silent installation through the ."properties" file.

The Linux session closures didn't  allow the previous session to be recovered before the Timeout.

To workaround the problem the Linux server administrator disabled temporarily the SSH session timeouts.

This time the installation succeeded, and the problem could not be reproduced anymore.

Additional Information