Jump to content

Missing bundle.js on JasperServer


scott_33

Recommended Posts

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 account

http://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 error

GET  404 - http://localhost:8080/jasperserver-pro/com/jaspersoft/ji/adhoc/jr/require/bundle.js

It 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

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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 report
http://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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...