Transactions to SAP fail with WebSphere Message Broker v7.0.0.3 during runtime: Replace WebSphere Adapter for SAP's jar

Flash (Alert)


Abstract

Transactions that involve SAP Input/Output nodes fail with WebSphere Message Broker v7.0.0.3 during runtime.


"CWYAP3071E: The adapter cannot find local transaction support in the current resource adapter, which is required for Queued RFC (qRFC) behavior. The IDoc is being processed using Transactional RFC (tRFC). Message: Queue Name Explanation=The IDoc is being processed using tRFC. Because local
transactions are not supported, qRFC cannot be used. UserAction=Use the _TX version of the RAR file
to run the qRFC call.'

Content

When the SAP Input / SAP Output nodes are used with the WebSphere Message Broker v7.0.0.3, the underlying WebSphere Adapter for SAP's version will be 7.0.0.3_IF14. Using this version of the adapter, will result in transaction failing with messages such as - "Adapter returned null from StructuredRecord.execute() in WebSphere Adapter for SAP Software".

Additionally, in the cases where the node is configured for tRFC / qRFC, there wouldn't be any exceptions reported - however, the adapter will be functioning in non-transactional mode.

Customer can check adapters transactionality from below steps:
Open the CWYAP_SAPAdapter.jar and traverse till \CWYAP_SAPAdapter.jar\com\ibm\j2ca\sap\ and open the file transaction.properties

supportsLocalTransaction=LocalTransaction

if supportsLocalTransaction=LocalTransaction then Tx version of the SAP adapter is used. This is the one to be used for WMB runtime.

if supportsLocalTransaction=NoTransaction then non-Tx version of SAP adapter is used. Should not be used for WMB runtime.

Reason -

This is due to the incorrect SAP Adapter jar in the WMB Package.

Solution -

Replace the CWYAP_SAPAdapter.jar in the following folder, with the jar in the 'Attachments' section below.

<WMB Installation>\adapters\prereqs\jars

Note : WebSphere Message Broker has to be stopped prior to the replacement of the jar

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

WebSphere Adapters
Adapter for SAP

Software version:

7.0.0.3

Operating system(s):

All Platforms

Software edition:

WebSphere

Reference #:

1569901

Modified date:

2011-12-07

Translate my page

Machine Translation

Content navigation