My Oracle Support Banner

Bulk Prices Exception ORA-01000: Maximum Open Cursors Exceeded (Doc ID 2938018.1)

Last updated on MARCH 28, 2023

Applies to:

Oracle Retail Store Inventory Management - Version 16.0.3 and later
Information in this document applies to any platform.

Symptoms

When attempting to run PromotionPriceChange batch,the following error occurs.

ERROR
-----------------------
2022-11-23 10:35:29,611 ERROR [[ACTIVE] ExecuteThread: '70' for queue: 'weblogic.kernel.Default (self-tuning)'][o.r.s.s.d.d.ItemTicketOracleDao] Error executing statement [873]: update ITEM_TICKET set STORE_ID = ?, ITEM_ID = ?, QUANTITY = ?, OVERRIDE_PRICE_CUR = ?, OVERRIDE_PRICE_VAL = ?, STATUS = ?, EXTERNAL_PO_ID = ?, PROMOTION_ID = ?, EFFECTIVE_DATE = ?, STATUS_DATE = ?, LABEL_PRICE_CUR = ?, LABEL_PRICE_VALUE = ?, USER_ID = ?, MULTI_UNITS = ?, MULTI_UNIT_LABEL_PRICE_CUR = ?, MULTI_UNIT_LABEL_PRICE_VALUE = ?, MULTI_UNIT_CHANGE = ?, COUNTRY_MANUFACTURE = ?, TICKET_FORMAT_ID = ?, TICKET_REQUEST_ID = ?, PRINT_ORDER = ?, LABEL_PRICE_TYPE = ?, PRINTER = ?, PRINTER_SOURCE = ?, AUTO_GENERATE_UIN = ?, LABEL_PRICE_UOM = ?, LABEL_PRICE_PER_UOM = ?, MSR_PRICE_CUR = ?, MSR_PRICE_VAL = ? WHERE ITEM_TICKET.ID = ?
java.sql.SQLException: ORA-01000: maximum open cursors exceeded

at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:510)
at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:462)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1105)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:551)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:269)
....
at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)
Caused by: oracle.jdbc.OracleDatabaseException: ORA-01000: maximum open cursors exceeded


Steps To Recreate
1. Generate large number of promotions.
2. Export to SIM.
3. Run PromotionPriceChange job.
4. Note the above error.

Cause

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
Symptoms
Cause
Solution
References


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