ScheduledDataDeploy URL

The command is used to deploy the data contained in a SAR to the commerce EAR.

URL structure

http:// host_name/path/
The fully qualified name of your WebSphere Commerce Server and the configuration path

Parameter values

JobInstanceId
The instance Id for this job as set in the SCHSTATUS table.
JobReferenceId
The reference Id for this job as set in the SCHCONFIG table
deployXMLFilename
The complete path of ibm-wc-load.xml file.
storeArchiveFilename
The path of the SAR file which is being published.

Example


https://myhostname/webapp/wcs/stores/servlet/ScheduledDataDeploy?
jobInstanceId=260369&jobReferenceId=10011&deployXMLFilename=g:
\ibm-wc-load.xml&storeArchiveFilename=
..\starterstores\ConsumerDirect\ConsumerDirectStore.sar

Behavior

  • The ScheduledPublishArchiveCmd command will be invoked, which calls PublishStoreProcessCmd to publish the Store. The store publish job should be scheduled before, and this command will execute all the commands listed in ibm-wc-load.xml and then updates the status of job.

Exception conditions

_ERR_FILE_NOT_FOUND if the deployXMLFile does not exist.