search cancel

Scheduled report is not send out due to java error


Article ID: 35024


Updated On:


DX Unified Infrastructure Management (Nimsoft / UIM)


Scheduled report is not send out due to java error

Example error snippet seen in scheduler logs

2012-08-01 04:46:06,006 ERROR [JobManagerImpl:219] Action failed: [email protected][id=17,started=true,success=false,startTime=Wed Aug 01 04:46:04 SGT 2012,endTime=<null>,length=<null>,errorMessage=Could not connect to SMTP host: localhost, port: 25,[email protected]0[id=16,[email protected], [email protected],subject=FERT Monthly,message=]]
javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
  nested exception is: Connection refused: connect
 at com.sun.mail.smtp.SMTPTransport.openServer(
 at com.sun.mail.smtp.SMTPTransport.protocolConnect(
 at javax.mail.Service.connect(
 at javax.mail.Service.connect(
 at javax.mail.Service.connect(
 at javax.mail.Transport.send0(
 at javax.mail.Transport.send(
 at com.firehunter.reportscheduler.model.EmailAction._send(
 at com.firehunter.reportscheduler.model.EmailAction.send(Ema



Release: UIM 8.x


Server Administration-> Mail section allows for secure connection option. If you are using TLS/SSL for mail server, you might be running it on a different port, if this is the case change to correct port.

Navigate to the bottom of Liferay’s Server Administration / Mail page where you will see this box:

          “Manually specify additional JavaMail properties to override the above configuration.”

Add the following in the box and save