RIB JMS Server ID Not Present For Adapter Instance (Doc ID 1347558.1)

Last updated on AUGUST 17, 2016

Applies to:

Oracle Retail Integration Bus - Version 13.1.3 and later
Information in this document applies to any platform.
***Checked for relevance on 10-Nov-2013***

Symptoms

The following error is encountered from time to time with any adapter after a container start/restart.

Error:

Error Message : java.lang.RuntimeException: Exception thrown during error hospital retry with reason code(PUB).; nested exception is: java.lang.RuntimeException: Exception thrown during error hospital retry with reason code(PUB).
Error StackTrace : javax.ejb.EJBException: java.lang.RuntimeException: Exception thrown during error hospital retry with reason code(PUB).; nested exception is: java.lang.RuntimeException: Exception thrown during error hospital retry with reason code(PUB).
java.lang.RuntimeException: Exception thrown during error hospital retry with reason code(PUB).
at com.retek.rib.j2ee.ErrorHospitalRetryEjb.retry(ErrorHospitalRetryEjb.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at ErrorHospitalRetry_LocalProxy_65638f9.retry(Unknown Source)
at com.retek.rib.j2ee.ErrorHospitalRetryTimerTask.callRemoteHospitalRetryEjb(ErrorHospitalRetryTimerTask.java:83)
at com.retek.rib.j2ee.ErrorHospitalRetryTimerTask.run(ErrorHospitalRetryTimerTask.java:40)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.lang.RuntimeException: JMS Server ID not present for adapter instance(pub_hosp_0).
at com.retek.rib.j2ee.ManagedAdaptersFactory.getJmsServerID(ManagedAdaptersFactory.java:905)
at com.retek.rib.j2ee.ManagedAdaptersFactory.getJmsServerID(ManagedAdaptersFactory.java:886)
at com.retek.rib.j2ee.ErrorHospitalRetryEjb.setJMSQueueId(ErrorHospitalRetryEjb.java:334)
at com.retek.rib.j2ee.ErrorHospitalRetryEjb.retry(ErrorHospitalRetryEjb.java:100)
... 21 more



Workaround :
Bounce the instance every time this occurs.
This is recoverable with an adapter (NOT OC4J) restart.

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