jyang Posted June 27, 2015 Share Posted June 27, 2015 Hi,i am getting a 503 error from AWS. the configuration and exceptions are below. Appreciated your helpi configured the email in /var/lib/tomcat7/webapps/jasperserver-pro/WEB-INF/js.quartz.propertieswith the following entries:report.scheduler.mail.sender.host=email-smtp.us-west-2.amazonaws.comreport.scheduler.mail.sender.username=....removed...report.scheduler.mail.sender.password=...removed..report.scheduler.mail.sender.from=...removed...report.scheduler.mail.sender.protocol=smtp#report.scheduler.mail.sender.port=465#report.scheduler.mail.sender.port=25report.scheduler.mail.sender.port=587 --------Exceptions------------ 2015-06-27 22:43:04,958 ERROR ReportExecutionJob,quartzScheduler_Worker-1:317 - The job error notification was not completed. An error occurred while sending it.org.springframework.mail.MailSendException: Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 530 Authentication required; message exception details (1) are:Failed message 1:com.sun.mail.smtp.SMTPSendFailedException: 530 Authentication required at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388) at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583) at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:416) 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:135) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.sendMailNotification(ReportExecutionJob.java:1040) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.executeAndSendReport(ReportExecutionJob.java:538) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.execute(ReportExecutionJob.java:224) at com.jaspersoft.ji.report.options.engine.ReportOptionsExecutionJob.execute(ReportOptionsExecutionJob.java:49) at org.quartz.core.JobRunShell.run(JobRunShell.java:213) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) Link to comment Share on other sites More sharing options...
aj.urquhart Posted October 11, 2018 Share Posted October 11, 2018 Edit "applicationContext-report-scheduling.xml" and change the 'false' to 'true'<prop key="mail.smtp.auth">false</prop><prop key="mail.smtp.auth">true</prop> 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