My Oracle Support Banner

ORASE: ZIP_FILE_UNLOAD_JOB Fails Due to "Problem invoking external program" (Doc ID 2759037.1)

Last updated on MARCH 11, 2021

Applies to:

Oracle Retail Science Platform Cloud Service - Version 19.1 and later
Information in this document applies to any platform.

Goal

While starting initial dataload activities into Oracle Retail Science Platform, with only calendar file enabled in "Customer Module management", the batch failed at ZIP_FILE_UNLOAD_JOB. The log shows:

2021-03-05T14:55:48,646 [[ACTIVE] ExecuteThread: '29' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  AbstractPOMBatchlet - Attempt # 1
2021-03-05T14:55:48,655 [[ACTIVE] ExecuteThread: '29' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  ExecEngineUtils - Updating the Job Status for the schedule RI, Process: CONTROL_FILE_VALIDATION_PROCESS, Job: ZIP_FILE_UNLOAD_JOB, with info JobStatus ERROR, POMExecutionRequestId 172, JobExecutionId 268, JobRunId 187746, Payload {"errorInfo":"\njava.lang.RuntimeException: Problem invoking external program(/u01/retail/ri/mmhome/src/ri_wrapper.ksh /u01/retail/ri/mmhome /u01/retail/ri/mmhome/src/zipunload.ksh null).\n\tat oracle.retail.apps.poam.ext.jobadmin.batchlet.AbstractPOMBatchlet.throwRuntimeException(AbstractPOMBatchlet.java:392)\n\tat oracle.retail.apps.poam.ext.jobadmin.batchlet.custom.BatchShellCommandRunnerBatchlet.doWork(BatchShellCommandRunnerBatchlet.java:82)\n\tat oracle.retail.apps.poam.ext.jobadmin.batchlet.AbstractPOMBatchlet.process(AbstractPOMBatchlet.java:146)\n\tat com.ibm.jbatch.container.artifact.proxy.BatchletProxy.process(BatchletProxy.java:33)\n\tat com.ibm.jbatch.container.impl.BatchletStepControllerImpl.invokeBatchlet(BatchletStepControllerImpl.java:80)\n\tat com.ibm.jbatch.container.impl.BatchletStepControllerImpl.invokeCoreStep(BatchletStepControllerImpl.java:108)\n\tat com.ibm.jbatch.container.impl.BaseStepControllerImpl.execute(BaseStepControllerImpl.java:149)\n\tat com.ibm.jbatch.container.impl.ExecutionTransitioner.doExecutionLoop(ExecutionTransitioner.java:112)\n\tat com.ibm.jbatch.container.impl.JobThreadRootControllerImpl.originateExecutionOnThread(JobThreadRootControllerImpl.java:110)\n\tat com.ibm.jbatch.container.util.BatchWorkUnit.run(BatchWorkUnit.java:80)\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n\tat weblogic.work.concurrent.TaskWrapper.call(TaskWrapper.java:151)\n\tat weblogic.work.concurrent.future.AbstractFutureImpl.runTask(AbstractFutureImpl.java:391)\n\tat weblogic.work.concurrent.future.AbstractFutureImpl.doRun(AbstractFutureImpl.java:436)\n\tat weblogic.work.concurrent.future.ManagedFutureImpl.run(ManagedFutureImpl.java:28)\n\tat weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)\n\tat weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)\n\tat weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)\n\tat weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)\n\tat weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:655)\n\tat weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)\n\tat weblogic.work.ExecuteThread.run(ExecuteThread.java:360)\nCaused by: java.lang.RuntimeException: Forked process failed, returned exit code(1).\n\tat oracle.retail.apps.poam.ext.jobadmin.batchlet.AbstractPOMBatchlet.throwRuntimeException(AbstractPOMBatchlet.java:387)\n\tat oracle.retail.apps.poam.ext.jobadmin.batchlet.custom.BatchShellCommandRunnerBatchlet.doWork(BatchShellCommandRunnerBatchlet.java:79)\n\t... 20 more\n","successInfo":null}
2021-03-05T14:55:48,655 [[ACTIVE] ExecuteThread: '29' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  OAuthUtils - Attempting to get token from cache.
2021-03-05T14:55:48,655 [[ACTIVE] ExecuteThread: '29' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  OAuthUtils - Fetched existing token successfully !
2021-03-05T14:55:48,656 [[ACTIVE] ExecuteThread: '29' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  ReSTUtils - Parameters are POST,https://stage-rsi-ris.oracleindustry.com:443/ExecutionEngine/,/services/private/schedules/RI/processes/CONTROL_FILE_VALIDATION_PROCESS/jobs/ZIP_FILE_UNLOAD_JOB/execution,null,JobStatus ERROR, POMExecutionRequestId 172, JobExecutionId 268, JobRunId 187746, Payload {"errorInfo":"\njava.lang.RuntimeException: Problem invoking external program(/u01/retail/ri/mmhome/src/ri_wrapper.ksh /u01/retail/ri/mmhome /u01/retail/ri/mmhome/src/zipunload.ksh null).\n\tat oracle.retail.apps.poam.ext.jobadmin.batchlet.AbstractPOMBatchlet.throwRuntimeException(AbstractPOMBatchlet.java:392)\n\tat oracle.retail.apps.poam.ext.jobadmin.batchlet.custom.BatchShellCommandRunnerBatchlet.doWork(BatchShellCommandRunnerBatchlet.java:82)\n\tat oracle.retail.apps.poam.ext.jobadmin.batchlet.AbstractPOMBatchlet.process(AbstractPOMBatchlet.java:146)\n\tat com.ibm.jbatch.container.artifact.proxy.BatchletProxy.process(BatchletProxy.java:33)\n\tat com.ibm.jbatch.container.impl.BatchletStepControllerImpl.invokeBatchlet(BatchletStepControllerImpl.java:80)\n\tat com.ibm.jbatch.container.impl.BatchletStepControllerImpl.invokeCoreStep(BatchletStepControllerImpl.java:108)\n\tat com.ibm.jbatch.container.impl.BaseStepControllerImpl.execute(BaseStepControllerImpl.java:149)\n\tat com.ibm.jbatch.container.impl.ExecutionTransitioner.doExecutionLoop(ExecutionTransitioner.java:112)\n\tat com.ibm.jbatch.container.impl.JobThreadRootControllerImpl.originateExecutionOnThread(JobThreadRootControllerImpl.java:110)\n\tat com.ibm.jbatch.container.util.BatchWorkUnit.run(BatchWorkUnit.java:80)\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n\tat weblogic.work.concurrent.TaskWrapper.call(TaskWrapper.java:151)\n\tat weblogic.work.concurrent.future.AbstractFutureImpl.runTask(AbstractFutureImpl.java:391)\n\tat weblogic.work.concurrent.future.AbstractFutureImpl.doRun(AbstractFutureImpl.java:436)\n\tat weblogic.work.concurrent.future.ManagedFutureImpl.run(ManagedFutureImpl.java:28)\n\tat weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)\n\tat weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)\n\tat weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)\n\tat weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)\n\tat weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:655)\n\tat weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)\n\tat weblogic.work.ExecuteThread.run(ExecuteThread.java:360)\nCaused by: java.lang.RuntimeException: Forked process failed, returned exit code(1).\n\tat oracle.retail.apps.poam.ext.jobadmin.batchlet.AbstractPOMBatchlet.throwRuntimeException(AbstractPOMBatchlet.java:387)\n\tat oracle.retail.apps.poam.ext.jobadmin.batchlet.custom.BatchShellCommandRunnerBatchlet.doWork(BatchShellCommandRunnerBatchlet.java:79)\n\t... 20 more\n","successInfo":null},
2021-03-05T14:55:48,756 [[ACTIVE] ExecuteThread: '29' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO  ExecEngineUtils - updateJobStatus: response: oracle.retail.apps.poam.ext.jobadmin.model.ReSTResponse@36bacb87[statusCode=200,reasonPhrase=OK,payload={"scheduleName":"RI","processName":"CONTROL_FILE_VALIDATION_PROCESS","jobName":"ZIP_FILE_UNLOAD_JOB","jobStatus":"ERROR","jobExecutionId":"268"}]
2021-03-05T14:55:48,756 [[ACTIVE] ExecuteThread: '29' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR AbstractPOMBatchlet - An exception occurred Problem invoking external program(/u01/retail/ri/mmhome/src/ri_wrapper.ksh /u01/retail/ri/mmhome /u01/retail/ri/mmhome/src/zipunload.ksh null).
java.lang.RuntimeException: Problem invoking external program(/u01/retail/ri/mmhome/src/ri_wrapper.ksh /u01/retail/ri/mmhome /u01/retail/ri/mmhome/src/zipunload.ksh null).
at oracle.retail.apps.poam.ext.jobadmin.batchlet.AbstractPOMBatchlet.throwRuntimeException(AbstractPOMBatchlet.java:392) [PomJobAdminExtensions.jar:?]
at oracle.retail.apps.poam.ext.jobadmin.batchlet.custom.BatchShellCommandRunnerBatchlet.doWork(BatchShellCommandRunnerBatchlet.java:82) ~[PomJobAdminExtensions.jar:?]
at oracle.retail.apps.poam.ext.jobadmin.batchlet.AbstractPOMBatchlet.process(AbstractPOMBatchlet.java:146) [PomJobAdminExtensions.jar:?]
at com.ibm.jbatch.container.artifact.proxy.BatchletProxy.process(BatchletProxy.java:33) [com.ibm.jbatch.container-1.0.3.jar:1.0.1]
at com.ibm.jbatch.container.impl.BatchletStepControllerImpl.invokeBatchlet(BatchletStepControllerImpl.java:80) [com.ibm.jbatch.container-1.0.3.jar:1.0.1]
at com.ibm.jbatch.container.impl.BatchletStepControllerImpl.invokeCoreStep(BatchletStepControllerImpl.java:108) [com.ibm.jbatch.container-1.0.3.jar:1.0.1]
at com.ibm.jbatch.container.impl.BaseStepControllerImpl.execute(BaseStepControllerImpl.java:149) [com.ibm.jbatch.container-1.0.3.jar:1.0.1]
at com.ibm.jbatch.container.impl.ExecutionTransitioner.doExecutionLoop(ExecutionTransitioner.java:112) [com.ibm.jbatch.container-1.0.3.jar:1.0.1]
at com.ibm.jbatch.container.impl.JobThreadRootControllerImpl.originateExecutionOnThread(JobThreadRootControllerImpl.java:110) [com.ibm.jbatch.container-1.0.3.jar:1.0.1]
at com.ibm.jbatch.container.util.BatchWorkUnit.run(BatchWorkUnit.java:80) [com.ibm.jbatch.container-1.0.3.jar:1.0.1]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_281]
at weblogic.work.concurrent.TaskWrapper.call(TaskWrapper.java:151) [com.oracle.weblogic.concurrent.jar:12.2.1.4]
at weblogic.work.concurrent.future.AbstractFutureImpl.runTask(AbstractFutureImpl.java:391) [com.oracle.weblogic.concurrent.jar:12.2.1.4]
at weblogic.work.concurrent.future.AbstractFutureImpl.doRun(AbstractFutureImpl.java:436) [com.oracle.weblogic.concurrent.jar:12.2.1.4]
at weblogic.work.concurrent.future.ManagedFutureImpl.run(ManagedFutureImpl.java:28) [com.oracle.weblogic.concurrent.jar:12.2.1.4]
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352) [com.bea.core.utils.full.jar:12.2.1.4]
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337) [com.bea.core.utils.full.jar:12.2.1.4]
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57) [com.oracle.weblogic.work.jar:12.2.1.4]
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41) [com.bea.core.weblogic.workmanager.jar:12.2.1.4]
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:655) [com.bea.core.weblogic.workmanager.jar:12.2.1.4]
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420) [com.bea.core.weblogic.workmanager.jar:12.2.1.4]
at weblogic.work.ExecuteThread.run(ExecuteThread.java:360) [com.bea.core.weblogic.workmanager.jar:12.2.1.4]
Caused by: java.lang.RuntimeException: Forked process failed, returned exit code(1).
at oracle.retail.apps.poam.ext.jobadmin.batchlet.AbstractPOMBatchlet.throwRuntimeException(AbstractPOMBatchlet.java:387) ~[PomJobAdminExtensions.jar:?]
at oracle.retail.apps.poam.ext.jobadmin.batchlet.custom.BatchShellCommandRunnerBatchlet.doWork(BatchShellCommandRunnerBatchlet.java:79) ~[PomJobAdminExtensions.jar:?]
... 20 more

Solution

To view full details, 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 a vibrant support community of peers and Oracle experts.