Skip to Content
0

Only one of the enlisted resources is allowed to be non two-phase commit compliant

Jul 28, 2017 at 07:47 AM

70

avatar image
Former Member

HI,ALL:

I have a question about two-phase commit compliant

Question is :

I want to get some data from one data source (eg. odspool ),and write these data to annother datasource (eg. wippool), In order to ensure data synchronization , i wirte the business logic to ejb

but ,this ejb will throw Exception like two-phase commit compliant

javax.ejb.EJBException: nested exception is: com.sap.engine.services.dbpool.exceptions.BaseSQLException: ResourceException occurred in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.connector.exceptions.BaseResourceException: The resource "odsPool" does not support two-phase commit and cannot be enlisted in the current transaction, because another non supporting two-phase commit resource is already enlisted for component

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers