Sunday, December 18, 2016

JDK Upgrade: JavaMail Exception

Recently I upgraded one of SOA Suite 11g environments to use latest JDK(7u121) and I received below error from UMS driver, when I restarted the complete SOA domain.

Error:
<Nov 25, 2016 2:26:53> <Error> <oracle.sdp.messaging.driver.email> <SDP-26123> <Could not initialize Email Store for user ABC@XYZ.COM >

<Nov 25, 2016 2:26:53> <Error> <oracle.sdp.messaging.driver.email> <SDP-25700> <An unexpected exception was caught.
javax.mail.MessagingException: * BYE JavaMail Exception: java.net.SocketTimeoutException: Read timed out;
  nested exception is:
        com.sun.mail.iap.ConnectionException: * BYE JavaMail Exception: java.net.SocketTimeoutException: Read timed out
        at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:569)
        at javax.mail.Service.connect(Service.java:288)
        at javax.mail.Service.connect(Service.java:169)

Cause:
As a part of latest JDK release, plain text authentication is no longer supported.

Fix:
Disable Plain-text Authentication in Email Driver Configuration

i.e. Check ImapAuthPlainDisable checkbox as shown below.


No comments:

Post a Comment

Provide your thoughts !