search cancel

Scheduled report emails stop arriving from NetOps Performance Management

book

Article ID: 255263

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

All scheduled reports stopped being received.

No emails are being received with scheduled reports.

Run Now options set to send emails appear to work but the email never arrives.

DX NetOps Performance Management reports fail to be sent via email. No emails for any reports work, whether scheduled or set up as Run Now.

In the Portal web server DMService.log file (found in default path /opt/CA/PerformanceCenter/DM/logs) the following error is seen whenever an emailed report is attempted.

ERROR | EmailJobTaskThreadPool-Thread-100 | 2022-11-29 14:20:50,493 | com.ca.im.portal.dm.scheduling.email.EmailJobTask                
      | Error sending e-mail: Mail server connection failed; nested exception is javax.mail.MessagingException: Can't send command to SMTP host;
  nested exception is:
 javax.net.ssl.SSLHandshakeException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors. Failed messages: javax.mail.MessagingException: Can't send command to SMTP host;
  nested exception is:
 javax.net.ssl.SSLHandshakeException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
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: PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors. Failed messages: javax.mail.MessagingException: Can't send command to SMTP host;
  nested exception is:
 javax.net.ssl.SSLHandshakeException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors; message exception details (1) are:
Failed message 1:
javax.mail.MessagingException: Can't send command to SMTP host;
  nested exception is:
 javax.net.ssl.SSLHandshakeException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
 at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1564)
...
 at java.lang.Thread.run(Thread.java:748)
Caused by: javax.net.ssl.SSLHandshakeException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
 at sun.security.ssl.Alert.createSSLException(Alert.java:131)
...
at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1562)
 ... 12 more
Caused by: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
 at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:386)
...
at sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:638)
 ... 29 more
Caused by: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
 at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:153)
...
at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:381)
 ... 35 more
WARN  | EmailJobTaskThreadPool-Thread-100 | 2022-11-29 14:20:50,494 | com.ca.im.portal.dm.scheduling.email.EmailJobTask                
      | Failed to get message in emailJobTask for code: email.job.failure.to.send.email for locale: en_US
org.springframework.context.NoSuchMessageException: No message found under code 'email.job.failure.to.send.email' for locale 'en_US'.
 at org.springframework.context.support.AbstractMessageSource.getMessage(AbstractMessageSource.java:155)
...
 at java.lang.Thread.run(Thread.java:748)

Environment

All supported DX NetOps Performance Management releases

Cause

The SMTP server configured in the DX NetOps Performance Management Portal web server Email Server settings has been retired.

Resolution

Determine what the environments new SMTP relay server is. Update the configured host in the Email Server settings (Administration->Configuration Settings->Email Server in the Portal web UI) and save the changes.

After this Report emails should begin being sent successfully.