WebCenter Notification Error: "JavaMail Exception: java.net.SocketTimeoutException" (Doc ID 1381286.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.4.0 and later
Information in this document applies to any platform.

Symptoms

WebCenter Notifications are set.

The following error is seen within the WC_Spaces-diagnostics.log:

(...)
[2011-11-28T20:21:39.732+01:00] [WC_Spaces] [ERROR] [] [oracle.webcenter.concurrent.Submission] [tid: pool-1-daemon-thread-5] [userId: webcenterUser] [ecid: ee94d4701ec03e2a:-20829604:133eb9bda86:-8000-0000000000000b74,0:14] [APP: webcenter#11.1.1.4.0] Submission[id=5, service=oracle.webcenter.collab.mail, resource=null] caught exception running task[[
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)
   at oracle.webcenter.collab.mail.MailSession$2.call(MailSession.java:1302)
   at oracle.webcenter.collab.mail.MailSession$2.call(MailSession.java:1276)
   at oracle.webcenter.concurrent.Submission$2.run(Submission.java:484)
   at java.security.AccessController.doPrivileged(Native Method)
   at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
   at oracle.webcenter.concurrent.Submission.runAsPrivileged(Submission.java:498)
   at oracle.webcenter.concurrent.Submission.run(Submission.java:424)
   at oracle.webcenter.concurrent.Submission$SubmissionFutureTask.run(Submission.java:888)
   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
   at java.util.concurrent.FutureTask.run(FutureTask.java:138)
   at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:657)
   at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:682)
   at java.lang.Thread.run(Thread.java:662)
Caused by: com.sun.mail.iap.ConnectionException: * BYE JavaMail Exception: java.net.SocketTimeoutException: Read timed out
   at com.sun.mail.iap.Protocol.handleResult(Protocol.java:346)
   at com.sun.mail.imap.protocol.IMAPProtocol.login(IMAPProtocol.java:336)
   at com.sun.mail.imap.IMAPStore.login(IMAPStore.java:615)
   at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:549)
... 16 more
(...)

OR

(...)
[2012-12-03T12:44:11.181-05:00] [WC_Spaces2] [WARNING] [WCS-09012] [oracle.webcenter.collab.mail.view.backing.MessageHandler] [tid: [ACTIVE].ExecuteThread: '22' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: webcenterUser] [ecid: 004nzP9oCJw4ioSpUCc9yc0001xo00LV0b,0:1] [APP: webcenter#11.1.1.4.0] [URI: /webcenter/faces/oracle/webcenter/collab/mail/view/jsf/pages/ComposeView.jspx] Failed to send the message with subject "Space : CLASP2 ". Further information: Read timed out[[
oracle.webcenter.collab.mail.MailException: Failed to send the message with subject "Space : XXX ". Further information: Read timed out
    at oracle.webcenter.collab.mail.MailSession.sendMessage(MailSession.java:897)
    at oracle.webcenter.collab.mail.view.backing.MessageHandler.sendMessage(MessageHandler.java:650)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(Unknown Source)
    at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
(...)
Caused by: javax.mail.MessagingException: Exception reading response;
  nested exception is:
    java.net.SocketTimeoutException: Read timed out
    at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1611)
    at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1120)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:635)
    at oracle.webcenter.collab.mail.MailSession.sendMessage(MailSession.java:884)
    ... 80 more
Caused by: java.net.SocketTimeoutException: Read timed out
    at jrockit.net.SocketNativeIO.readBytesPinned(Native Method)
    at jrockit.net.SocketNativeIO.socketRead(SocketNativeIO.java:32)
    at java.net.SocketInputStream.socketRead0(SocketInputStream.java)
    at java.net.SocketInputStream.read(SocketInputStream.java:129)
    at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:110)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
    at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:88)
    at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1589)
    at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1120)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:635)
    at oracle.webcenter.collab.mail.MailSession.sendMessage(MailSession.java:883)
    at oracle.webcenter.collab.mail.view.backing.MessageHandler.sendMessage(MessageHandler.java:650)
(...)

 

Changes

WebCenter Notifications are set and a notification is sent.

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