Message Driver Bean (MDB) in Oracle Application Server Stops Retrieving Messages After Inactivity Period

(Doc ID 1383551.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Containers for J2EE - Version: and later   [Release: AS10gR2 and later ]
Information in this document applies to any platform.


A Message Driver bean (MDB) is deployed into OC4J.
This MDB bean is retrieving messages from a queue configured in Oracle Database server.
After some time (one day) of inactivity (no message enqueued) , when putting a message in the queue, messages are not retrieved from the MDB bean.
The issue to solve is to allow MDB bean to receive JMS messages from the Oracle Database Server after a long period of inactivity .

The issue only occurs with JDBC OCI and not with JDBC thin.


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