My Oracle Support Banner

Email Notification Not Sent With Error : exception reading response: java.net.SocketTimeoutException: Read timed out (Doc ID 2465342.1)

Last updated on APRIL 04, 2025

Applies to:

Oracle Agile PLM Framework - Version 9.3.3.0 and later
Information in this document applies to any platform.

Symptoms

ACTUAL BEHAVIOR
When attempting to send mail, not able to send mail and from the log the following error occurs.

ERROR

After enabling debug email notification as mentioned below, see the following error log.

Debug Email Notification Error Related Issues (<Document 1940720.1>)

...

DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth false
DEBUG SMTP: trying to connect to host "xxxx.xxxxx.xxx", port 25, isSSL false
DEBUG SMTP: exception reading response: java.net.SocketTimeoutException: Read timed out
<2018-09-28 00:24:47,001> <SendEmailListener:ERROR>  <Email Notification Subsystem> Exception while sending email. Reason : Email send failed. Email details :
Subject: <ECO xxxxx has been returned to you by xxxxx, xxxxx (xxxxxxx)>
Recipients: ["xxxxx, xxxxx (xxxxx)"<xxxx.xxxxx@xxxx.xxxx>]
Actual Exception : Exception reading response
java.lang.Exception: Email send failed. Email details :
Subject: <ECO xxxxx has been returned to you by xxxxx, xxxxx (xxxxx)>
Recipients: ["xxxxx, xxxxx (xxxxx)"<xxxxx.xxxxx@xxxxx.xxxxx>]
Actual Exception : Exception reading response
    at com.agile.common.server.notification.SendEmail.send(SendEmail.java:307)
    at com.agile.common.server.notification.SendEmailListener.onMessage(SendEmailListener.java:43)
    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:451)
    at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:375)
    at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:310)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4855)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:4529)
    at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3976)
    at weblogic.jms.client.JMSSession.access$000(JMSSession.java:120)
    at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5375)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:548)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /ag3/app/agile/agile933/integration/sdk/logs/BomQuantityValidation/BomValidation.log (No such file or directory)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:142)
    at org.apache.log4j.FileAppender.setFile(FileAppender.java:276)
    at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:157)

.....

STEPS
The issue can be reproduced at will with the following steps:
1. Send notification email through Web Client / Java Client

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.