NewItemLocBatch Crashes ORA-00060: deadlock detected while waiting for resource@2RPM_BULK_CC_THREADING_SQL.COMPLETE_BULK_CC (Doc ID 986747.1)

Last updated on MAY 25, 2017

Applies to:

Oracle Retail Price Management - Version 13.0.2 and later
Information in this document applies to any platform.
***Checked for relevance on 18-Aug-2013***

Symptoms

In Retail Price Management (RPM), newItemLocBatch crashes with the following threading deadlock.

ERROR


Steps to reproduce
1. Login to RPM application.
2. Create 12 promotions where Item Level is set to Merchandise Hierarchy as follows:
    - Simple class level promotion active on the current date.
    - Multi-buy class level promotion active on the current date.
    - Simple class level promotion approved for two weeks from the current date.
    - Multi-buy class level promotion approved for two weeks from the current date.
    - Simple subclass level promotion active on the current date.
    - Multi-buy subclass level promotion active on the current date.
    - Simple subclass level promotion approved for two weeks from the current date.
    - Multi-buy subclass level promotion approved for two weeks from the current date.
    - Simple department level promotion active on the current date.
    - Multi-buy department level promotion active on the current date.
    - Simple department level promotion approved for two weeks from the current date.
    - Multi-buy department level promotion approved for two weeks from the current date.
3. Create 10 new items in the dept/class/subclass used in the promotions in step 1.
4. Add locations in RMS before submitting and approving the items.
5. Run the newItemLocBatch.sh batch without any errors.
6. Create 10 new items in the dept/class/subclass used in the promotions in step 1.
7. Add locations in RMS before submitting and approving the items.
8. Modify RPM_BATCH_CONTROL as follows:
     UPDATE RPM_BATCH_CONTROL SET NUM_THREADS =2,
     THREAD_LUW_COUNT =1
     WHERE PROGRAM_NAME = 'com.retek.rpm.batch.NewItemLocBatch'
Originally the table was set for threads=3 and LUW=10000.
9. Run the newItemLocBatch.sh batch.
     Notice the following error is displayed after about 7 minutes: com.retek.platform.exception.RetekUnknownSystemException: com.retek.platform.exception.RetekUnknownSystemException: @0PACKAGE_ERROR@1ORA-00060: deadlock detected while waiting for resources.

Changes

 

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