Hi,
I am getting one error “The resource is already being used in a parent transaction” while using webMethods Explicit Trancation Management. The error dump is as shown below:
--------------------------------------------------------------------------------- [ART.117.4000] Adapter Runtime (Adapter Service): Unable to invoke adapter service mew.ebs.inbo und.data.services:AS_EBSDataLineId. Unable to establish connection to connection mew.ebs.common.connection:JDBC_EBSCommon. [ART.117.4011] Adapter Runtime (Adapter Service): Unable to connect to resource mew.ebs.common.connection:JDBC_EBSCommon. Th e resource is already being used in a parent transaction. com.wm.pkg.art.error.DetailedServiceException com.wm.pkg.art.error.DetailedServiceException: [ART.117.4000] Adapter Runtime (Adapter Serv ice): Unable to invoke adapter service mew.ebs.inbound.data.services:AS_EBSDataLineId. Unable to establish connection to conn ection mew.ebs.common.connection:JDBC_EBSCommon. [ART.117.4011] Adapter Runtime (Adapter Service): Unable to connect to resource mew.ebs.common.connection:JDBC_EBSCommon. Th e resource is already being used in a parent transaction. -------------------------------------------------------------------------------
My flow service pattern is as shown below:
SEQUENCE1(Exit on Success) SEQUENCE2(Exit on Failure) StartTransaction LOOP InsertAdapterService1 InsertAdapterService2 InsertAdapterService3 InsertAdapterService4 END-LOOP CommitTransaction SEQUENCE3(Exit on Done) CatchError RollBackTransaction
The features of the InsertAdapterService’s are as below.
- All the InsertAdapterService’s are using XA transaction.
- All the InsertAdapterService’s are inserting into different tables in the same
Database.
Please give me some solution.
Thanks in advance
Mahadev