Performance Issue with ExtractUnitAmountStockCount.sh

(Doc ID 2253343.1)

Last updated on OCTOBER 12, 2017

Applies to:

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

Symptoms

 In Store Inventory Management (SIM) application, find that the batch ExtractUnitAmountStockCount.sh cannot extract stock counts with over 600.000 items and throws the following error:

ERROR
-------------
CMD=/appli/oretail/sim14/batch/bin/ExtractUnitAmountStockCount.sh 15/02/2017
:../resources:../lib/commons-cli-1.2.jar:../lib/commons-logging-1.1.3.jar:../lib/cryptoj.jar:../lib/identitystore.jar:../lib/jps-api.jar:../lib/jps-common.jar:../lib/jps-internal.jar:../lib/jps-unsupported-api.jar:../lib/log4j-1.2.17.jar:../lib/oraclepki.jar:../lib/osdt_cert.jar:../lib/osdt_core.jar:../lib/osdt_xmlsec.jar:../lib/sim-batch.jar:../lib/sim-common.jar:../lib/wlcipher.jar:../lib/wlfullclient.jar
Java Environment Initialized...

Starting Batch...
java -Doracle.security.jps.config=../resources/conf/jps-config.xml -Dweblogic.security.SSL.enableJSSE=true oracle.retail.sim.batch.core.SimBatchRunner oracle.retail.sim.batch.job.GenerateUnitAmountCountJob 15/02/2017

2017-02-13 23:36:58,800 INFO [main][job.GenerateUnitAmountCountJob] Found 1 records to process.
2017-02-14 01:38:13,444 ERROR [main][job.GenerateUnitAmountCountJob] Exception: java.util.concurrent.ExecutionException: oracle.retail.sim.common.core.SimServerException: Error processing concurrent batch record: GenerateUnitAmountCountJob(storeId: 8502, scheduleId: 5113)
java.util.concurrent.ExecutionException: oracle.retail.sim.common.core.SimServerException: Error processing concurrent batch record: GenerateUnitAmountCountJob(storeId: 8502, scheduleId: 5113)
at java.util.concurrent.FutureTask.report(FutureTask.java:134)
at java.util.concurrent.FutureTask.get(FutureTask.java:200)
at oracle.retail.sim.batch.core.SimBatch.executeConcurrentBatch(Unknown Source)
at oracle.retail.sim.batch.core.SimBatch.executeConcurrentBatch(Unknown Source)
at oracle.retail.sim.batch.job.Generate

 

Steps To Recreate:

1. Create a product group including approximately 300 departments and over 600,000 items in total.
2. Run the batch ExtractUnitAmountStockCount.sh with 2 hours timeout setting for batches.
3. Observe that after 2 hours "Error processing concurrent batch record" is reported.

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