Error: org.xml.sax.SAXException: text/html Is Not An Allowed content_type For The CONTENT Tag When PLSQL Message Notification is Sent (Doc ID 756678.1)

Last updated on DECEMBER 24, 2015

Applies to:

Oracle Workflow Cartridge - Version 12.0.6 to 12.1.1 [Release 12 to 12.1]
Information in this document applies to any platform.
6728000 ORACLE E-BUSINESS SUITE 12.0.6 RELEASE UPDATE PACK (RUP6)
7237006 R12.ATG_PF.A.DELTA.6


Symptoms


After setting up the Java Mailer, when using Test Mailer function from Oracle Application Manager (OAM), the notification has status Failed and the following error is in the manager log:

oracle.apps.fnd.wf.mailer.SMTPMessageHandler.prepareMessages(String)]:FormatterException ->
oracle.apps.fnd.wf.mailer.FormatterException: Problem parsing XML-> org.xml.sax.SAXException:
text/html is not an allowed content_type for the CONTENT tag
at
oracle.apps.fnd.wf.mailer.NotificationFormatter.validateContentType(NotificationFormatter.java:939)
at
oracle.apps.fnd.wf.mailer.NotificationFormatter.handleContentStartTag(NotificationFormatter.java:170
0)
at oracle.apps.fnd.wf.mailer.NotificationFormatter.startElement(NotificationFormatter.java:495)
at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:181)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1280)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:328)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:295)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:315)
at
oracle.apps.fnd.wf.mailer.NotificationFormatter.getFormattedMessages(NotificationFormatter.java:342)
at oracle.apps.fnd.wf.mailer.SMTPMessageHandler.prepareMessages(SMTPMessageHandler.java:77)
at oracle.apps.fnd.wf.mailer.SMTPOutboundProcessor.read(SMTPOutboundProcessor.java:732)
at oracle.apps.fnd.cp.gsc.SvcComponentProcessor.process(SvcComponentProcessor.java:604)
at oracle.apps.fnd.cp.gsc.Processor.run(Processor.java:283)
at java.lang.Thread.run(Thread.java:810)
Caused by: org.xml.sax.SAXException: text/html is not an allowed content_type for the CONTENT tag

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