Client has multiple databases which I have to insert the same data to, I am handling it via looping over the DB list and overriding $connectionName.
However, in case of error in any of the inserts (let’s say 4th of 5) I am supposed to rollback the inserted data from all databases.
I generate unique ID via java UUID to assign each insert a transactionName, then when it fails I loop over each transactionNames and try to rollback. I am using pub.art.transaction for that. However, while running the service it returns given errors:
com.wm.pkg.art.error.DetailedServiceException: [ART.117.4018] Adapter Runtime (Adapter Service): Error while closing transactions at service completion Error:[ART.117.4015] Adapter Runtime (Adapter Service): Error(s) occurred while closing adapter connections.
[ART.117.4015] Adapter Runtime (Adapter Service): Error(s) occurred while closing adapter connections…
[ART.117.4015] Adapter Runtime (Adapter Service): Error(s) occurred while closing adapter connections.
[ART.117.4015] Adapter Runtime (Adapter Service): Error(s) occurred while closing adapter connections.
Any better way to approach this? This is adapters info:
Transaction Type LOCAL_TRANSACTION
DataSource Class com.microsoft.sqlserver.jdbc.SQLServerDataSource
#webMethods#Integration-Server-and-ESB#Adapters-and-E-Standards