Java Notification Mailer Fails to Send Email Notifications from FormatterException with Framework Regions (Doc ID 339718.1)

Last updated on APRIL 26, 2017

Applies to:

Oracle Workflow - Version 11.5.9 to 12.1.3 [Release 11.5 to 12.1]
Information in this document applies to any platform.
3258819 11i.OWF.H
3262159 11i.FND.H
4017300 11.5.10 Consolidated Update (CU1) for ATG Product Family
4125550 11.5.10 CU2 for ATG Product family
3460000 11.5.10 ORACLE E-BUSINESS SUITE CONSOLIDATED UPDATE 2
4334965 11i.ATG_PF.H RUP3
4676589 11i.ATG_PF.H.RUP4
5473858 11i.ATG_PF.H.RUP5
5903765 11i.ATG_PF.H.RUP6
6241631 11i.ATG_PF.H.RUP7
4440000 RELEASE 12
5917344 R12.ATG_PF.A.DELTA.2
6077669 R12 R12.ATG_PF.A.DELTA.3
6272680 R12.ATG_PF.A.DELTA.4
6430106 R12 ORACLE E-BUSINESS SUITE 12.1
7307198 R12.ATG_PF.B.DELTA.1

Checked for relevance on 01-Oct-2015


Symptoms

Java Notification Mailer is failing to send some email notifications and the Mail status is Failed.  
Mailer log file has errors similar to any of the ones below:


Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:email.oracle.com:192.nnn.n.1:-1:-1:ERROR:[SVC-GSM-WFMLRSVC-428400-10010 :
oracle.apps.fnd.wf.mailer.SMTPMessageHandler.prepareMessages(String)]:FormatterException -> oracle.apps.fnd.wf.mailer.FormatterException:
Problem parsing XML-> org.xml.sax.SAXException: Problem obtaining the RESOURCE content -> java.net.MalformedURLException: no proto :
email.oracle.com/OA_HTML/OA.jsp?page=/oracle/apps/fnd/wf/worklist/webui/NotifMailerPG&WFRegion=NtfDetail&NtfId=699504&dbc=email_hrpp&OARF=email&language_code=US

 

oracle.apps.fnd.wf.mailer.SMTPMessageHandler.processMessage(Object)]:Formatter
Exception -> oracle.apps.fnd.wf.mailer.FormatterException: Problem parsing
XML-> org.xml.sax.SAXException: Problem obtaining the RESOURCE content ->
java.net.MalformedURLException: unknown protocol: https

oracle.apps.fnd.wf.mailer.NotificationFormatter.handleResEndTag]:Problem obtaining the HTML content oracle.apps.fnd.wf.common.HTTPClientException: Unable to invoke method HTTPClient.HTTPConnection.Get caused by: javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr

Problem obtaining the HTML content ->
oracle.apps.fnd.wf.common.HTTPClientException: Unable to invoke method
HTTPClient.HTTPConnection.Get caused by: java.io.InterruptedIOException:
Connection establishment timed out

Problem obtaining the HTML content ->
oracle.apps.fnd.wf.common.HTTPClientException: Unable to invoke method
HTTPClient.HTTPConnection.Get caused by: java.lang.UnsatisfiedLinkError:
initSSLContext

oracle.apps.fnd.wf.mailer.NotificationFormatter.getFormattedMessages()]:Problem getting the HTML content -> 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.lang.ClassCastException: com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl

One has looked at the output of $FND_TOP/sql/wfmlrdbg.sql script and confirmed that the 'Fwk Content' column under the 'Notification Item Information'  section has a 'Y', indicating that the failing  notifications contains Framework Regions.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms