cancel
Showing results for 
Search instead for 
Did you mean: 

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

0 Kudos

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

Accepted Solutions (0)

Answers (0)