Sunday, March 8, 2015

Oracle BPM: Solving "The XID is not valid" exception

Recently i faced a strange exception while using the BPM server:
       

java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_NOTA start() failed on resource 'SOADataSource_domain': XAER_NOTA : The XID is not valid oracle.jdbc.xa.OracleXAException at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1616)
       
 

In order to resolve this exception, you need to edit your Custom XA Datasource which your BPM processes use with the following attribute.
Enable "Set XA Transaction Timeout"


Restart you domain (Admin and SOA servers)

That's it.

No comments:

Post a Comment