Setup phantomjs for highchart exports in Jasper server

Posted on by By admin, in Jaspersoft | 0



If phantomjs is not setup, and we try to export highcharts in jasperserver, then we see the following error.


Make data easy with Helical Insight. Helical Insight is the world’s best open source business intelligence tool.


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

Below are the steps to setup phantomjs for highchart exports:

1. Download and install phantomjs

https://phantomjs.org/download.html

2. Rename the phantomjs-2.1.1-windows to phantomjs and copy phantomjs folder to jasperserver location

C:\Jaspersoft\jasperreports-server-7.9.0\phantomjs\bin\

3. Open jasperreports.properties in the following folder

C:\Jaspersoft\jasperreports-server-7.9.0\apache-tomcat\webapps\jasperserver-pro\WEB-INF\classes

4. Add the following property to set the phantomjs path in the jasperreports.properties and save the file


Make data easy with Helical Insight. Helical Insight is the world’s best open source business intelligence tool.


net.sf.jasperreports.phantomjs.executable.path=C:\\Jaspersoft\\jasperreports-server-7.9.0\\phantomjs\\bin\\phantomjs.exe

5. Restart the jasperserver

In case if you have any queries please get us at support@helicaltech.com

Thank You

Sai Kavya Sathineni

Helical IT Solutions Pvt Ltd

logo

Best Open Source Business Intelligence Software Helical Insight is Here

logo

A Business Intelligence Framework

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments