My Oracle Support Banner

F1-EmailService Adding Retry Function When Reports An error If This Fails (Doc ID 2019509.1)

Last updated on MARCH 06, 2019

Applies to:

Oracle Utilities Framework - Version 4.2.0.1.0 to 4.2.0.2.0 [Release 4.2]
Information in this document applies to any platform.

Symptoms

**Examples provided in this article do not represent real life personal/confidential information**
**Disclaimer:** This KM article may include the following abbreviations:

SMTP - Simple Mail Transfer Protocol
OUAF/FW - Oracle Utilities Framework

On : 4.2.0.1.0 Framework version

Sometimes customer's SMTP host has an issue and therefore F1-EmailService causes an error exception.

 The F1-EmailService assumes that smtp sever is always avaialble but sometimes it's not, due to all the connections being used up.

 Clients suggestion was to add the following:
 1. ability to handle retrying itself
 2. ability to resend any failed messages
 3. give an error message if retrying is not possible

 ------------

 Issue in log file:
  "javax.mail.MessagingException: Could not connect to SMTP host:
 wmailscan.westernpower.com.au, port:<PORT>;" "Caused by:
 java.net.ConnectException: Connection timed out"

 This issue happened occasionally, and if customer send Email manually, it always be succeed.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Sometimes customer's SMTP host has an issue
2. F1-EmailService causes an error exception.

Changes

 

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
Changes
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.