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

Last updated on NOVEMBER 05, 2016

Applies to:

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

Symptoms

A Message Driver bean (MDB) is deployed into 10.1.2.0.2 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.

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