ODI OdiSendMail Task Getting Error "java.net.SocketException: Connection reset" After Moving to a New Environment

(Doc ID 2061699.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Data Integrator - Version 11.1.1.3.0 and later
Information in this document applies to any platform.

Symptoms

The execution of OdiSendMail command is getting the following error after moving Oracle Data Integrator (ODI) to a new environment:

javax.mail.MessagingException: Exception reading response;
 nested exception is:
java.net.SocketException: Connection reset
 at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2153)
 at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1912)
 at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:638)
 at javax.mail.Service.connect(Service.java:295)
 at com.sunopsis.dwg.tools.SendMail.actionExecute(SendMail.java:205)
 at com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.execute(SnpsFunctionBaseRepositoryConnected.java:209)
 at ...
Caused by: java.net.SocketException: Connection reset
 at java.net.SocketInputStream.read(SocketInputStream.java:196)
 at java.net.SocketInputStream.read(SocketInputStream.java:122)
 at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:110)
 at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
 at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
 at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:89)
 at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2131)
 ... 24 more

The execution of same OdiSendMail command is working perfectly fine in the old environment.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms