deeperwhite Posted October 1, 2014 Share Posted October 1, 2014 Hi,I am using a jasperserver dashboard on linux. Dashboard contains a google map as well. I can also access that machine on windows using its web link.The problem is since map comes up with an http link, the browser blocks it..I also need it to be https link.Can you help me with that? Link to comment Share on other sites More sharing options...
nattargekar Posted October 10, 2014 Share Posted October 10, 2014 Even I am facing the same issue... Anyone with answer ? Link to comment Share on other sites More sharing options...
deeperwhite Posted October 12, 2014 Author Share Posted October 12, 2014 The problem is google maps comes with http. Since the link of dashboard is https, it blocks the map.You have to convert the link of dashboard into http to solve that problem. You will need to change web.xml file as far as I understood. Link to comment Share on other sites More sharing options...
nattargekar Posted October 13, 2014 Share Posted October 13, 2014 Thanks for your comment @deeperwhite, but we want 'https' for map also. Link to comment Share on other sites More sharing options...
deeperwhite Posted October 13, 2014 Author Share Posted October 13, 2014 Hi, I am not sure if there is a way to use https for map as well.Please let me know if you find a way..I dont think anyone but you will write and help about it in this forum. Link to comment Share on other sites More sharing options...
jloovere Posted November 20, 2014 Share Posted November 20, 2014 For google maps displayed using the maps component of JasperReports / JasperServer, you can use the text editor of your choice to change all occurances of http://maps.google.com/maps/api to https://maps-api-ssl.google.com/maps/api in the three files named maps.js, jasperreportsmap.js, and MapElementHtmlTemplate.vm that can be found in the folder path net/sf/jasperreports/components/map/resources in the main jasperreports jar file.That's the file in the WEB-INF/lib folder of JasperServer named something like jasperreports-5.5.0.jar.If you are using the default map marker icons on your map, you may still get a warning message in your browser about unencrypted elements such as images, because of the references in these same files to the marker icon files at the non-SSL url that begins with http://chart.apis.google.com .I'm not sure what the proper https location for those marker files should be - but if you figure it out, please post the proper URL here. 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