Skip to Content

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers