Email not going through Scheduled Jasper Reports also we are not able to download documents attached in attachment fields.
Downloading fields is giving Error 500.
Error Message:
2021-12-02 14:39:48,478 ERROR ReportExecutionJob,quartzScheduler_Worker-1:363 [] - The job error notification was not completed. An error occurred while sending it.
org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Can't send command to SMTP host;
nested exception is:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Failed messages: javax.mail.MessagingException: Can't send command to SMTP host;
nested exception is:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; message exception details (1) are:
Failed message 1:
javax.mail.MessagingException: Can't send command to SMTP host;
Release : All Release
Component : CLARITY
1. In the js.quartz.properties file, please defined the correct mail host name value to the report.scheduler.mail.sender.
report.scheduler.mail.sender.
Also, confirmed that the report.scheduler.web.
report.scheduler.web.
2. Next, in the js.config.properties file, please confirmed that the deploy.base.local.url is defined correctly.
deploy.base.local.url=http://
If the deploy.base.url was previously defined with an error in the URL. please now defined the correct URL for the same.
deploy.base.url=http://example.com/reportservice/
3. Finally, in the applicationContext-report-
4. After saving all the changes, Please restart the Tomcat.
5. Schedule the Test Report