Having BPEL to OSB flow and OSB to BPEL flow results in a Unique Constraint (DEV12_SOAINFRA.SCA_FLOW_INSTANCE_PK) Violated error
Last updated on NOVEMBER 16, 2016
Applies to:Oracle SOA Suite - Version 188.8.131.52.0 and later
Information in this document applies to any platform.
Following is the business scenario users have implemented which is failing with "ORA-00001: unique constraint (DEV12_SOAINFRA.SCA_FLOW_INSTANCE_PK) violated" error.
Request message propagation:
BPEL1 ---OSB (Request Pipeline)---- [BPEL2(One way)]
Response Message Propagation:
OSB(Response Pipeline)----[BPEL2(one way)-------BPEL1
Users were observing that calls to BPEL2 from OSB are failing intermittently(50 out of 600 transactions). Sometimes it is failing at OSB request pipeline level while calling BPEL2 and sometimes it fails in the OSB response pipeline. In the OSB logs users are not finding any errors but in the SOA logs users are seeing "javax.ejb.TransactionRolledbackLocalException: Error committing transaction:
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms