My Oracle Support Banner

R12.2: Workflow Java Deferred Listener Goes Down with java.sql.SQLException: ORA-01000 ,WF_EVENT_OJMSTEXT_QH.ENQUEUE on Maximum Open Cursor (Doc ID 1966450.1)

Last updated on FEBRUARY 12, 2019

Applies to:

Oracle Workflow - Version 12.2.3 to 12.2.5 [Release 12.2]
Information in this document applies to any platform.

Symptoms

On Oracle Applications 12.2.3, Workflow Agent Listeners:
when attempting to processing WebServiceInvokerSubscription, Workflow Java Deferred Listener goes down with following error occur when the maximum number of cursors open in the sessions reach the value given by session parameter OPEN_CURSORS.

Could not set parameter 1 or executeUpdate() the CallableStatement -> java.sql.SQLException: ORA-01000:
 ORA-06512: "APPS.WF_EVENT_OJMSTEXT_QH", line 941
 ORA-06512: line 1


WORKAROUND
Bounce the Workflow Java Deferred Listener


The issue can be reproduced at will with the following steps:
1. Initiate web service call from the business event to send message to other application.
2. Notice that , this would call oracle.apps.fnd.wf.bes.WebServiceInvokerSubscription java rule during which lot of open cursors are formed and are not getting closed.
3. After hitting Max OPEN CURSOR, Workflow Java Deferred Listener goes down.

The issue has the following business impact:
Due to this issue, users cannot complete the web service call and the related transaction.

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!


In this Document
Symptoms
Cause
Solution
References


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