Retail Integration Bus (RIB) Hospital Adapters Put Duplicate Messages On The JMS Queue (Doc ID 1066063.1)

Last updated on JANUARY 12, 2017

Applies to:

Oracle Retail Integration Bus - Version 13.0.2 and later
Information in this document applies to any platform.
Checked for relevance 22-June-2012
Checked for relevance on May 15th, 2014

Symptoms

The Retail Integration Bus (RIB) Hospital adapters put duplicate messages on JMS queue. During processing of second message (duplicate) the adapter (e.g. XItem) throws the following exception:
java.lang.IllegalStateException: Message #XXX missing from hospital database

 

09/12/10 14:02:27 java.lang.IllegalStateException: Message #858 missing from hospital database
09/12/10 14:02:27 at com.retek.rib.collab.HospitalController.getHospitalMetaData(HospitalController.java:445)
09/12/10 14:02:27 at com.retek.rib.collab.HospitalController.doMessage(HospitalController.java:236)
09/12/10 14:02:27 at com.retek.rib.collab.HospitalController.doMessage(HospitalController.java:188)
09/12/10 14:02:27 at com.retek.rib.j2ee.RIBMessageSubscriberEjb.onMessage(RIBMessageSubscriberEjb.java:205)
09/12/10 14:02:27 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09/12/10 14:02:27 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
09/12/10 14:02:27 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
09/12/10 14:02:27 at java.lang.reflect.Method.invoke(Method.java:585)
09/12/10 14:02:27 at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
09/12/10 14:02:27 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
09/12/10 14:02:27 at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
09/12/10 14:02:27 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
09/12/10 14:02:27 at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
09/12/10 14:02:27 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
09/12/10 14:02:27 at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
09/12/10 14:02:27 at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
09/12/10 14:02:27 at XItem_sub_1_EndPointProxy_65638f9.onMessage(Unknown Source)
09/12/10 14:02:27 at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:268)
09/12/10 14:02:27 at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
09/12/10 14:02:27 at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
09/12/10 14:02:27 at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
09/12/10 14:02:27 at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
09/12/10 14:02:27 at java.lang.Thread.run(Thread.java:595)

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