AQ Adapter Under Stress Returns Error "ORABPEL-11947 - Enqueue Failed, SQL Wrapper Has Been Closed"

(Doc ID 444619.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle(R) BPEL Process Manager - Version and later
Information in this document applies to any platform.
***Checked for relevance on 30-Sep-2010***


You have a BPEL process which enqueues an XML message into a queue using an AQ adapter. You have applied <patch 5877231> to ensure you are using the latest AQ adapter.
You have set validate-connection=true and inactivity-timeout for the data source.

While doing a stress test you get following error:

Enqueue failed; nested exception is:
ORABPEL-11947 Please examine the log file to determine the problem.

SQL wrapper has been closed!

The domain log file contains the following error:

<ERROR> <> <AQ Adapter::Outbound>
java.sql.SQLException: SQL wrapper has been closed!
at oracle.oc4j.sql.proxy.SQLBCELProxy.oc4j_intercept(
at oracle_jdbc_driver_T4CPreparedStatement_Proxy.executeQuery()

On debugging, using any of the data source, transaction or JDBC debug options below


you may also see the following error

oracle.AQ.AQException: JMS-184: Queue object is invalid
at oracle.AQ.AQUtil.throwAQEx(
at oracle.AQ.AQOracleQueue.enqueue(


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