My Oracle Support Banner

After Upgrading Oracle Management Service (OMS) Oracle Enterprise Manager (OEM) to 13.5 Setting Up EMAIL Delivery in BI Publisher is Failing With "Could not establish connection.mail.util.MailConnectException" (Doc ID 2797322.1)

Last updated on AUGUST 05, 2021

Applies to:

BI Publisher (formerly XML Publisher) - Version 12c and later
Information in this document applies to any platform.

Symptoms

On : 12c version, Java APIs : Delivery Services

After upgrading OMS to 13.5, setting up EMAIL Delivery in xmlpserver is failing.

Upgraded OMS/OEM from 13.4 to 13.5.


Both the email server and server hosting the xmlpserver didn't change.

Setting up of EMAIL Sever Delivery in xmlpserver fails.

No error on the page.

The following error appears in the biserver1.out log file:


ERROR
-----------------------
Could not establish connection. com.mail.util.MailConnectException: Couldn't connect to host, port: <domain name>, 25; timeout -1; nested exception is: java.net.ConnectException: Connection refused (Connection refused)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:


1.  Log into xmlpserver.

2.  Navigate to Administration tab.

3.  Navigate to Delivery -> Email.

4.  Select Server.

5.  Add Email Server information.

6.  Test Connection.

Changes

 Upgraded OMS/OEM from 13.4 to 13.5.

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.