Introducing the all-new TIBCO Community site!

For current users, please click "Sign In" to reset your password and access the enhanced features. If you're a first-time visitor, we extend a warm welcome—click "Sign Up" to become a part of the TIBCO Community!

If you're seeking alternative community sites, explore ibi, Jaspersoft, and Spotfire.

Jump to content

Why did Mail Notification fail to be sent with the Correct Quartz Properties


Mike Hua

Recommended Posts

js.quartz.properties:

report.scheduler.mail.sender.host=mail.fenv.com.vn

report.scheduler.mail.sender.username=fenvERPSystem

report.scheduler.mail.sender.password=correct_password

report.scheduler.mail.sender.from=ERPSystem@fenv.com.vn

report.scheduler.mail.sender.protocol=smtp

report.scheduler.mail.sender.port=25

applicationContext-report-scheduling.xml:

 

 

 

 

 

 

 

 

true

true

true

 

 

 

 

Error Log:

2020-12-29T00:49:06,886 ERROR SecureExceptionHandlerImpl,quartzScheduler_Worker-1:116 - There was an error on the server. Try again or contact site administrators. (Error UID: 5acfba18-9189-4143-99b2-cb3a3227a04a)

2020-12-29T00:49:06,886 ERROR ReportExecutionJob,quartzScheduler_Worker-1:367 - fail to send out alert mail notification (Error UID: 5acfba18-9189-4143-99b2-cb3a3227a04a) org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535 5.7.3 Authentication unsuccessful

at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:425)

at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:346)

at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:341)

at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJobAlertImpl.sendAlertMail(ReportExecutionJobAlertImpl.java:97)

at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.sendAlertMail(ReportExecutionJob.java:768)

at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.executeAndSendReport(ReportExecutionJob.java:607)

at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.execute(ReportExecutionJob.java:249)

at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)

Caused by: javax.mail.AuthenticationFailedException: 535 5.7.3 Authentication unsuccessful

at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:965)

at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:876)

at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:780)

at javax.mail.Service.connect(Service.java:366)

at org.springframework.mail.javamail.JavaMailSenderImpl.connectTransport(JavaMailSenderImpl.java:503)

at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:422)

... 8 more

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...