How do I update the Email setting in AAI's Insight Reporting Server after installation?
search cancel

How do I update the Email setting in AAI's Insight Reporting Server after installation?

book

Article ID: 253227

calendar_today

Updated On:

Products

Automation Analytics & Intelligence

Issue/Introduction

During the installation of the Insight reporting server for AAI, you are required to enter some email settings, such as mail-host, mail-from, mail-password(if needed).

 

How can I update these email settings if a change occurs in my environment?

 

Environment

Release : 6.5.3

Resolution

1. Stop Jaspersoft :

  • On Windows you can use the "Stop JRS" shortcut on your desktop or stop the two jasperserver* services in the Windows Service menu.
  • On Linux run "./ctlscript stop" from the reporting server installation directory.

2. Make a backup copy of the file js.quartz.properties in the \<Install Dir>\apache-tomcat\webapps\jasperserver-pro\WEB-INF directory.

 

3. Open the js.quartz.properties file and you will fine the email settings can be found at the bottom of the file like below:

report.scheduler.mail.sender.host=smtp.broadcom.com
report.scheduler.mail.sender.username=admin
report.scheduler.mail.sender.password=password
report.scheduler.mail.sender.from= <emailAddress>
report.scheduler.mail.sender.protocol=smtp
report.scheduler.mail.sender.port=25


Note: If the SMTP server does not require login credentials, these lines can be left blank like below:

report.scheduler.mail.sender.username=
report.scheduler.mail.sender.password=

4. Make the necessary changes in a text editor and save the file.

 

5. Start up the Insight services again.

  • On Windows you can use the "Start JRS" shortcut on the desktop or start the two jasperserver* services from Windows Services.
  • On Linux run "./ctlscript start" from the reporting server installation directory.

 

6. To verify the changes, log in to the AAI website, and go to the System Tools, report scheduling page, and schedule a report. Once you schedule the report you can click the "Run Now" button to force the report to be emailed right away.