Communications Order to Cash (O2C) Process Integration Pack (PIP): Messages sent at the same time to XREF causing ORA-00001 error (Doc ID 1637510.1)

Last updated on MAY 31, 2017

Applies to:

Oracle Communications Order to Cash Integration Pack for Siebel CRM - Version 11.2 and later
Information in this document applies to any platform.

Symptoms

Comms Order to Cash PIPS 11.x (Where x is >= 2)
Clustered environment

Current Behavior: While testing there issue in ProcessSalesOrderFulfillmentSiebelCommsReqABCSImpl process while interfacing with xref function populateXrefRow and inserting records in the xref table.

Observation suggests that a new customer may have two messages sent to QueryCustomerPartyListSiebelProvABCSImpl at the same exact time.

The provider will then attempt to do the insert(s) into xref table and one of the xref inserts would fail with the below error(s).

ERROR:

Extract from soa_server2-diagnostic.log

...
[2014-02-04T09:18:59.916+01:00] [soa_server2] [NOTIFICATION] [] [oracle.soa.bpel.engine.xml] [tid: Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms\n] [userId: <anonymous>] [ecid: 0000KFvyUXQ5i^B_nXCCyZ1Ivv99000QVq,0] [APP: soa-infra] [composite_name: CommsProcessBillingAccountListEBF] [component_name: CommsProcessBillingAccountListEBF] [component_instance_id: 360038] registered the bpel uri resolver [File-based Repository]oramds:/deployed-composites/default/CommsProcessBillingAccountListEBF_rev15.0/ base uri xsl/ProcessBillingAccountListEBM_to_SyncCustomerPartyListEBM.xsl
[2014-02-04T09:19:00.623+01:00] [soa_server2] [ERROR] [] [oracle.soa.xref.repos.database] [tid: Workmanager: , Version: 0,Scheduled=false, Started=false, Wait time: 0 ms\n] [userId: <anonymous>] [ecid: 0000KFvyUY25i^B_nXCCyZ1Ivv99000QVr,0] [APP: soa-infra] @ [composite_name: QueryCustomerPartyListSiebelProvABCSImplV2] [component_name: @ QueryCustomerPartyListSiebelProvABCSImplV2] [component_instance_id: 360039] The sqlException is : ORA-00001: unique constraint (AIA1_XREF.XREF_DATA_PK) violated[[
[2014-02-04T09:19:00.626+01:00] [soa_server2] [ERROR] [] [oracle.soa.xref.repos.database] [tid: Workmanager: , Version: 0,Scheduled=false, Started=false, Wait time: 0 ms\n] [userId: <anonymous>][ecid: 0000KFvyUY25i^B_nXCCyZ1Ivv99000QVr,0] [APP: soa-infra]@ [composite_name: QueryCustomerPartyListSiebelProvABCSImplV2] [component_name:@ QueryCustomerPartyListSiebelProvABCSImplV2] [component_instance_id: 360039]errorCode for sql server is 1
[2014-02-04T09:19:00.626+01:00] [soa_server2] [ERROR] [][oracle.soa.xref.repos.database] [tid: Workmanager: , Version: 0,Scheduled=false, Started=false, Wait time: 0 ms\n] [userId: <anonymous>][ecid: 0000KFvyUY25i^B_nXCCyZ1Ivv99000QVr,0] [APP: soa-infra]@ [composite_name: QueryCustomerPartyListSiebelProvABCSImplV2] [component_name:@ QueryCustomerPartyListSiebelProvABCSImplV2] [component_instance_id: 360039]sqlserver: 23000
[2014-02-04T09:19:00.833+01:00] [soa_server2] [ERROR] [] [oracle.soa.xref][tid: Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms\n] [userId: <anonymous>] [ecid: 0000KFvyUY25i^B_nXCCyZ1Ivv99000QVr,0] @ [APP: soa-infra] [composite_name: QueryCustomerPartyListSiebelProvABCSImplV2] @ [component_name: QueryCustomerPartyListSiebelProvABCSImplV2] [component_instance_id: 360039] Reference value "1-MOTAD" in reference column "SEBL_01" for cross reference table "oramds:/apps/AIAMetaData/xref/CUSTOMERPARTY_PARTYID.xref" is present[[ Please ensure the reference value does not exist or use a different mode.
...

Cause

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