Products | Versions |
---|---|
TIBCO Order Management - Long Running | 5.0.0 |
DataIntegrityViolation error looks like the log snippet below:
---
22 May 2020 16:03:12,134 INFO [] [] [FOM-OrderService] [com.tibco.aff.oms.service.soap.SOAPActionValidationInterceptor] [handleMessage] - [ThreadID:186] [Tenant ID:TIBCO] RequestAction : SubmitOrderRequest . Actual SOAPAction : http://www.tibco.com/aff/service/soap/SubmitOrder. Expected SOAPAction http://www.tibco.com/aff/service/soap/SubmitOrder OR http://www.tibco.com/aff/service/soap/SyncSubmitOrder
22 May 2020 16:03:12,134 INFO [] [] [OrderSequencerImpl] [com.tibco.aff.oms.service.soap.SubmitOrderInterceptor] [submitOrder] - [ThreadID:186] [Tenant ID:TIBCO] START --->SubmitOrderInterceptor.handleMessage()
22 May 2020 16:03:12,134 INFO [] [] [OrderSequencerImpl] [com.tibco.aff.oms.service.soap.SubmitOrderInterceptor] [submitOrder] - [ThreadID:186] [Tenant ID:TIBCO] END --->SubmitOrderInterceptor.handleMessage()
22 May 2020 16:03:12,223 INFO [] [order_ref_1] [Member1] [com.tibco.aff.oms.server.soap.OrderServiceEndPoint] [submitOrder] - [ThreadID:186] [Tenant ID:TIBCO] Received Order request with Ref order_ref_1
22 May 2020 16:03:12,223 INFO [] [order_ref_1] [FOM-OrderService] [com.tibco.aff.oms.server.soap.OrderServiceEndPoint] [submitOrder] - [ThreadID:186] [Tenant ID:TIBCO] enableOrderSequencing flag is set to disable
22 May 2020 16:03:12,676 ERROR [] [order_ref_1] [FOM-OrderService] [com.tibco.aff.oms.server.impl.OrderServiceImpl] [submitOrder] - [ThreadID:186] [Tenant ID:TIBCO] Error while committing order with orderRef order_ref_1. Exception org.springframework.dao.DataIntegrityViolationException: could not execute batch; SQL [insert into audit_trail (dateCreated, orderId, orderRef, orderLineNumber, planId, planItemId, type, message, msg_origin_sys_inst_id, messageType, extension, auditSid) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]; constraint [OMSTIBCO.FKDB7D1C3FD33C7235]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute batch
22 May 2020 16:03:12,677 INFO [] [order_ref_1] [FOM-OrderService] [com.tibco.aff.oms.server.impl.OrderServiceImpl] [submitOrder] - [ThreadID:186] [Tenant ID:TIBCO] DataIntegrityViolationException occurred, trying to recover...
22 May 2020 16:03:12,677 ERROR [] [order_ref_1] [FOM-OrderService] [com.tibco.aff.oms.server.impl.OrderServiceImpl] [submitOrder] - [ThreadID:186] [Tenant ID:TIBCO] Error while committing order with orderRef order_ref_1. Exception java.sql.BatchUpdateException: ORA-02291: integrity constraint (TIBCO.FKDB7D1C3FD33C7236) violated - parent key not found
---