System : windows 10 and AWS EC2
I have follow below steps:
- install jdk
- install tomcat8
- install maven
- PhantomJS
- Updated app-convert.properties according to system (windows/linux)
- Added new required highchart java-script files in diectory /phantomjs
- Updated required java-scripts files names in resources.json
- Export war/ install export server from repository
- Deploy war in tomcat/ start server using mvn jetty:run
On preview server logs error
[ERROR] [http-nio-8080-exec-25 05:19:49] (ExportController.java:writeFileToStream:356) Tried to read file from filesystem: File '/tmp/tomcat8-tomcat8-tmp/export4935023327417038147/output/UOBhqYub.png' does not exist
So I debug Server.java, server is responding as
"ReferenceError: Can't find variable: highcharts".
(SVGConverter.java:convert:108) responce json: ReferenceError: Can't find variable: Highcharts
I have added required js files in resource/phontomjs directory and mentioned these files in resources.json.
Please correct me if I am missing anything.