java.net.ConnectException: Connection refused Error Connecting The Mail Server From OIM
(Doc ID 1676686.1)
Last updated on MAY 07, 2018
Applies to:Identity Manager - Version 220.127.116.11.0 and later
Information in this document applies to any platform.
Error Connecting the mail server from OIM: Attempted to configure the OIM server to perform email notification when an OID User is created.
Tried testing if the email notification feature is configured correctly and indeed working -> from Enterprise Manager: SOA-INFRA: Send Notification Test
as shown in 14.4.2 Troubleshooting SOA Email Notification
It was noted the emails did not get sent and OIM diagnostic logs reported there is a communication connection problem. stacktrace as given below
ac68565840b4f30b:-3fabd976:1463640552f:-8000-0000000000003281,0] [APP: usermessagingdriver-email] An unexpected exception was caught.[[
javax.mail.MessagingException: Could not connect to SMTP host:emailserver.sampledomain.com, port: 25, response: 554
The issue can be reproduced with the following steps:
1. Configure UMS driver properties -enable UMS notification provider
2. Follow the documentation / KM note for the configuration:
How to Configure a UMS Adapter for Email Activation Processes within SOA 18.104.22.168 ( <Document 1531478.1> )
Only Outgoing Mail server properties are set SOA human Workflow is configured to send email and other required properties as given in the documentation
3. Test email notification working as shown in: http://docs.oracle.com/cd/E40329_01/admin.1112/e27149/notification.htm#CACJFHCA
Refer to: 14.4.2 Troubleshooting SOA Email Notification
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!