Visualize: Enable default JIVE UI (6) - aspersoftServer6.1.0 - XMLHttpRequest cannot load jasperserver-pro/reportresource/reportresource

0
XMLHttpRequest cannot load jasperserver-pro/reportresource/reportresource?resource=jive.templates.tmpl
A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true. 
Origin 'http://localhost:57189' is therefore not allowed access.
 
We have written a CORSFilter in java to set the 'Access-Control-Allow-Origin' to the header with value as 'http://localhost:57189'. We have added the filter in the web config file of jasper server too.
 
On running the visualize.js in debug mode, we got the following information.
[Report] [INFO] - Report status changed to 'ready'
[Report] [INFO] - Report total pages number is 1
 
Only the 'Access-Control-Allow-Origin'  getting resetted to '*'. Please share some thoughts.

 

santosh_2's picture
Joined: Sep 8 2015 - 5:30pm
Last seen: 4 years 4 weeks ago

0 Answers:

No answers yet
Feedback
randomness