scott_33 Posted March 13, 2017 Share Posted March 13, 2017 I have having issues embedding Heatmap(High Charts) chart to by website.When I try to load the report via URL in the browser using default superuser/superuser accounthttp://ec2-34-207-164-70.compute-1.amazonaws.com/jasperserver-pro/rest_v2/reports/public/Samples/Reports/01._Geographic_Results_by_Segment_Report.html[/code] I kept getting this javascript errorGET 404 - http://localhost:8080/jasperserver-pro/com/jaspersoft/ji/adhoc/jr/require/bundle.jsIt appeared the jasper server is missing some JS libraries any tips on how to resolve this issue? Edit: The AdhocView + the Report are all created with JapserServer on a browser not JasperStudio Link to comment Share on other sites More sharing options...
hozawa Posted March 13, 2017 Share Posted March 13, 2017 You're using Adhoc View to create your report. Adhoc View doesn't use Jaspersoft Studio so you shouldn't be uploading any file to JasperReports Server. Just create your report from JasperReports Server using your web browser. Link to comment Share on other sites More sharing options...
scott_33 Posted March 13, 2017 Author Share Posted March 13, 2017 I can confirm that this is not just an issue with the report that i created. Even using the sample report from a fresh install from JasperSite (local,vm) using this reporthttp://localhost:8080/jasperserver-pro/rest_v2/reports/public/Samples/Reports/01._Geographic_Results_by_Segment_Report.html The bundle.js 404 error is present. I think there is a bug in the high-chart integration (could just be the version i am working with. I did find a few hotfixes for version 6.3.0 i can try to apply those hotfixes and see if the problem will go away) Link to comment Share on other sites More sharing options...
scott_33 Posted March 14, 2017 Author Share Posted March 14, 2017 Havent found a good solution for this yet Link to comment Share on other sites More sharing options...
scott_33 Posted March 15, 2017 Author Share Posted March 15, 2017 Got a solution: The problem can be fixed by adding the following line to WEB-INF/classes/jasperreports.properties: com.jaspersoft.ji.adhoc.bundle.js$context.url=reportresource?resource=com/jaspersoft/ji/adhoc/jr/require/bundle.js Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now