MQ Adapter Enqueue Fails Using LocalTransaction or NoTransaction (Doc ID 970874.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle ESB - Version: 10.1.3.4.0 to 10.1.3.4.0
Oracle(R) BPEL Process Manager - Version: 10.1.3.4 to 10.1.3.4   [Release: AS10gR3 to AS10gR3]
Information in this document applies to any platform.

Symptoms

Using SOA 10.1.3.4 on Weblogic 9.2:

When trying to use LocalTransaction with multiple PartnerLink invocations (outbound) in the same process to an MQServer (same queue), BPEL fails to enqueue the messages. The following error is seen:
<2009-07-22 21:54:21,225> 
file:/home/oracle/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_MQ_Multi_Enq_1.0_6cab4693dccd03843d6920faa8568277.tmp/MQPut01.wsdl [Enqueue_ptt::Enqueue(Multi_NONXA_In_XAProcessRequest) ] - Could not invoke operation 'Enqueue' against the 'MQSeries Adapter' due to:
java.lang.IllegalStateException: Local Transaction not supported for this

When using NoTransaction, the following error is seen:
ORABPEL-12511 
Adapter Framework unable to create outbound JCA connection. 
file:/home/oracle/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_MQ_Multi_Enq_1.0_6cab4693dccd03843d6920faa8568277.tmp/MQPut02.wsdl [Enqueue_ptt::Enqueue(Multi_NONXA_In_XAProcessRequest) ] - : The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: javax.resource.ResourceException: Failed to setup the Resource Adapter Connection for enlistment in the transaction, Pool = 
'eis/MQ/MQTest02', weblogic.transaction.RollbackException: Unexpected exception in Non XA Resource enlistment. 
Resource=weblogic.connector.transaction.outbound.NonXAWrapper@1a277ba 
Cannot enlist more than one Non XA Resource.  Attempt to enlist 
'eis/MQ/MQTest02' when 'weblogic.connector.transaction.outbound.NonXAWrapper' 
is already enlisted.. [Caused by: Unexpected exception in Non XA Resource enlistment. 
Resource=weblogic.connector.transaction.outbound.NonXAWrapper@1a277ba 
Cannot enlist more than one Non XA Resource.  Attempt to enlist 
'eis/MQ/MQTest02' when 'weblogic.connector.transaction.outbound.NonXAWrapper' 
is already enlisted.] Please examine the log file for any reasons. Enable DEBUG logging in the BPEL Console. 

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