EBS Workflow Mailer Failing To Send Email Notifications With Java
EBS Workflow Mailer Failing To Send Email Notifications With Java
Applies to:
Oracle Workflow - Version 12.1.3 to 12.1.3 [Release 12.1]
Information in this document applies to any platform.
Symptoms
Workflow Mailer is failing to send email notifications with:
History:
A two server configuration for High Availability. One server is active, the other is idle. They
are clustered using VCS.
The system failed over to the idle server over the weekend. Using a BIG IP configuration to
mask the two physical server names, and everything runs as expected, with this exception.
The file system and database are on a single server. The RDBMS, App Tier, Concurrent
managers all run on one server. All things are running fine, except, that the WF Mailer does
not send email.
a) oracle.apps.fnd.wf.mailer.NotificationFormatter$FormatterSAXException: Problem
obtaining the HTML content -> oracle.apps.fnd.wf.common.HTTPClientException: Unable to
invoke method HTTPClient.HTTPConnection.Get caused by: java.net.ConnectException:
Connection refused
b) EXCEPTION:
[jtf.cache.appsimpl.AppsCacheFrameworkConfig]:oracle.apps.fnd.common.AppsException:
oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.
c) java.lang.RuntimeException: oracle.apps.fnd.common.AppsException:
java.sql.SQLException: The Network Adapter could not establish the connection
d) java.net.UnknownHostException:<hostname>
at java.net.InetAddress.getAllByName0(InetAddress.java:1157)
at java.net.InetAddress.getAllByName(InetAddress.java:1083)
at java.net.InetAddress.getAllByName(InetAddress.java:1019)
at oracle.net.nt.TcpNTAdapter.connect(TcpNTAdapter.java:114)
at oracle.net.nt.ConnOption.connect(ConnOption.java:123)
at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:337)
Changes
There is no change in java mailer configuration. Nor any change to email inbound or
outbound servers.
Cause
The server /etc/hosts file contained incorrect alias names that are actually used by Big IP
configuration, and was causing certain web based emails to fail.
Solution
1. Fixed the incorrect alias names (used by the Big IP configuration) in /etc/hosts file on the
server.
3. Restarted the Workflow Mailer and now the java mailer is working as expected.