The reports scheduler in Jasper reports server is not working

Document ID : KB000103550
Last Modified Date : 28/06/2018
Show Technical Document Details
Issue:
The reports scheduler in Jasper reports server is not working , the following error is captured in the jasperserver.log files:

javax.mail.MessagingException: Could not connect to SMTP host: MAIL_SERVER_HOST, port: 25; nested exception is: java.net.ConnectException: Connection refused: connect
Environment:
Jasper Reports 6.2.0 or higher
Service Desk 14.1 Cum 3
Cause:
Jasper server is unable to connect to mail server due to a network or firewall block.
Resolution:
Verify that the firewall or network is not blocking the connection to and from the mail server to the Service Desk Server.

1. Test with the ping command if the servers are reachable from the Jasper reports and Mail server.
2. Test with the telnet command to determine if the port is reachable from the Jasper reports server to the mail server.
3. Ensure that the Jasper Reports server is relay server list of the Mail server.
Additional Information: