My Oracle Support Banner

ORA-06519: Active Autonomous Transaction Detected And Rolled Back In Package OKC_CONTRACT_APPROVAL_P (Doc ID 2662083.1)

Last updated on APRIL 18, 2023

Applies to:

Oracle Service Contracts - Version 12.1.3 to 12.2.10 [Release 12.1 to 12.2]
Information in this document applies to any platform.


When attempting to Activate a Service Contract with a a vacation rule to auto-sign contracts, the approval workflow fails and an error notification is generated with the following error:

Data Base Operation Failed.
ORA-00060:deadlock detected while waiting for resource in Package OKC_CONTRACT_APPROVAL_PVT Procedure complete_activity
ORA-06519 active autonomous transaction detected and rolled back in Package OKC_CONTRACT_APPROVAL_PVT Procedure k_signed

1. Setup vacation rule as follows:
    Vacation rule for approval in User1.
    Vacation rule for signature in User2.
2. Create a contract using User2 and submit for approval.
3. Deadlock occurs.

Workaround: If the user clicks retry manually, it gets signed and activated.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.