My Oracle Support Banner

Poison Messages in RIB-EXT With Injector Service's Fault Response Webpage (Doc ID 2858378.1)

Last updated on JANUARY 11, 2024

Applies to:

Oracle Retail Integration Cloud Service - Version 19.1 and later
Information in this document applies to any platform.

Symptoms

Injector Service at users end is configured to return a response in webpage of HTML format stating "Access Restricted" and other trademark/copyright content when the injector service is down.

So if the injector service goes down for any reason, messages from Retail Cloud Services to external (RIB-EXT) integration are failing and the fault response webpage was
given back to RICS along with the standard failure message as "javax.ejb.EJBException: Error while calling Injector Service with URL(https:///rib-injector-services-web/resources/injector/inject)"

This failure is registered in the RIB-EXT error hospital under RIB_MESSAGE_FAILURE.DESCRIPTION column with complete content of webpage failure response. This is causing trouble when RICS is retrying the message later as it has to unmarshall the complete payload along with HTML failure response and resulting into a poison message with below error:

ERROR [Items_sub_1] impl.RestServiceSubscriberCoreServiceImpl (RestServiceSubscriberCoreServiceImpl.java:108) - Error while calling Injector Service with URL(https://<Host>/rib-injector-services-web/resources/injector/inject)"
javax.ws.rs.ProcessingException: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>Access Restricted</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <style type="text/css"> /*{![CDATA[*/ body { background-color: #fff; color: #000; font-size: 0.9em; font-family: sans-serif,helvetica; margin: 0; padding: 0; } :link { color: #c00; } :visited { color: #c00; } a:hover { color: #f50; } h1 { text-align: center; margin: 0; padding: 0.6em 2em 0.4em; background-color: #900; color: #fff; font-weight: normal; font-size: 1.75em; border-bottom: 2px solid #000; } h1 strong { font-weight: bold; font-size: 1.5em; } h2 { text-align: center; background-color: #900; font-size: 1.1em; font-weight: bold; color: #fff; margin: 0; padding: 0.5em; border-bottom: 2px solid #000; } h3 { text-align: center; background-color: #ff0000; padding: 0.5em; color: #fff; } hr { display: none; } .content { padding: 1em 5em; text-align: center; } .alert { border: 2px solid #000; } img { border: 2px solid #fff; padding: 2px; margin: 2px; } a:hover img { border: 2px solid #294172; } .logos { margin: 1em; text-align: center; } /*]]>*/ </style> </head> <body> <h1><strong>Access Restricted</strong></h1> <div class="content"> <div class="content"> <p>Copyright Content.</p> </div> <div class="logos"> <a href="logo_url><img src="logo.png"/></a> </div> </div> </body></html>
java.lang.RuntimeException: Unable to unmarshall json object to java object.
...
Caused by: org.xml.sax.SAXParseException: The element type "deion" must be terminated by the matching end-tag "</deion>".

 

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!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.