CABI scheduled e-mail notifications are not being sent.
search cancel

CABI scheduled e-mail notifications are not being sent.

book

Article ID: 191029

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

Weekly CABI reports have been scheduled and configured to be emailed out as per the information provided at the following link:
https://community.broadcom.com/communities/community-home/librarydocuments/viewdocument?DocumentKey=9c952933-d671-43ff-bfe8-77b235ab1810

but the e-mails are not reaching the recipients with the job throwing the following messages:

Job: MS_SQL_Availability_Report (ID: 1) Report unit: /public/ca/uim/reports/library/health/group/group_trend_report Quartz Job: ReportJobs.job_1 Quartz Trigger: ReportJobs.trigger_1_17 Error Message: The job error notification was not completed. An error occurred while sending it. Exceptions: org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:392) at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:340) at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:336) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJobMailNotificationImpl.sendMailNotification(ReportExecutionJobMailNotificationImpl.java:138) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.sendMailNotification(ReportExecutionJob.java:1120) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.executeAndSendReport(ReportExecutionJob.java:578) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.execute(ReportExecutionJob.java:245) at com.jaspersoft.ji.report.options.engine.ReportOptionsExecutionJob.execute(ReportOptionsExecutionJob.java:46) at org.quartz.core.JobRunShell.run(JobRunShell.java:213) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) Caused by: javax.mail.AuthenticationFailedException at javax.mail.Service.connect(Service.java:306) at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:389) ... 9 more



Environment

Release : 9.2.0

Component : UIM - CABI

Resolution

The js.quartz.properties file uri was pointing to localhost. 

report.scheduler.web.deployment.uri=http://localhost:8081/cabijs

This needed to specify a FQDN for the server instead of localhost.

Additional Information

Information on JaspersoftReports Server email settings can be located here:

https://community.jaspersoft.com/wiki/quartz-scheduling-properties