search cancel

Spectrum Jasper reports "Include reports as repository links in email body" adds localhost by default

book

Article ID: 230369

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

When scheduling a report in jasperSoft, I check the option "Include reports as repository links in email body", but I get this on my email:

Top-N Most Common Alarms-Group    http://localhost:8080/jasperserver-pro/fileview/fileview/public/ca/spectrum/reports/alarm/group/Top_N_Most_Common_Alarms_Group.pdf

Link is trying to access localhost and that leads nowhere. localhost should be replaced with hostname of JasperReports server. 

 

Environment

Release : 21.2

Component :

Resolution

This can be configured from 

<app-server-path>/jasperserver-pro/WEB-INF/js.quartz.properties

By default it uses localhost  as follows:

report.scheduler.web.deployment.uri=http://localhost:8080/jasperserver-pro

Please change it to the hostname and restart tomcat.

report.scheduler.web.deployment.uri=http://<hostname>:8080/jasperserver-pro

Additional Information

https://community.jaspersoft.com/documentation/tibco-jasperreports-server-installation-guide/v71/configuring-report-scheduling-2