Can Not Send Emails from WebCenter Spaces configured with MS 2007 Exchange Server using the Secured SMTP Port (Doc ID 1101763.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.2.0 to 11.1.1.2.0 [Release 11g]
Information in this document applies to any platform.

Symptoms


When attempting to send an email from WebCenter Spaces configured with MS 2007 Exchange Server using the secured SMTP port, the following error occurs.

Warning
Connection to the server failed.


Steps To Reproduce:
The issue can be reproduced at will with the following steps:

  1. Configure WebCenter Email with Microsoft Exchange Server 2007 using the secure SMTP port.

  2. Send an email from WebCenter Spaces.
    This should return the error.


Only sending emails fails.
Reading Emails works fine using secured ports.
Reading/Sending emails works fine using the non-secured SMTP port.


The WLS_Spaces-diagnostic.log shows the following errors:


[2010-05-06T19:20:57.775+00:00] [WLS_SpacesMS2] [WARNING] [WCS-09020] [oracle.webcenter.collab.mail.view.backing.MessageHandler] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: testuser1] [ecid: 0000IXj44YX3b69svc8Dxl1Bsl6f00001M,0] [APP: webcenter] [arg: Unrecognized SSL message, plaintext connection?] Connection to the server failed.[[
oracle.webcenter.collab.mail.MailException: Connection to the server failed.
at oracle.webcenter.collab.mail.MailSession.sendMessage(MailSession.java:871)
at oracle.webcenter.collab.mail.view.backing.MessageHandler.sendMessage(MessageHandler.java:528)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
...

Caused by: oracle.webcenter.collab.share.ConnectionFailedException: The service is unavailable.
at oracle.webcenter.collab.mail.MailSession.acquireSmtpTransport(MailSession.java:1439)
at oracle.webcenter.collab.mail.MailSession.sendMessage(MailSession.java:836)
... 76 more

Caused by: oracle.webcenter.concurrent.ExecutionException: Exception reading response
service : oracle.webcenter.collab.mail
resource : null
source : oracle.webcenter.collab.mail.MailSession$3@8c6f70e (oracle.webcenter.collab.mail.MailSession$3)
submission : 20
at oracle.webcenter.concurrent.SubmissionFuture.get(SubmissionFuture.java:98)
at oracle.webcenter.collab.mail.MailSession.acquireSmtpTransport(MailSession.java:1409)
... 77 more

Caused by: javax.mail.MessagingException: Exception reading response;
nested exception is:
javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1611)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1413)
...

Caused by: javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1255)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:65)
at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:110)
at java.io.BufferedInputStream.fill
...

 

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