Connector for HCL Commerce Manual / Version 2010
Table Of ContentsThe Sample archive file contains CoreMedia store data that can be used together with the CoreMedia CMS Blueprint demo data. Part of the data can be imported via SAR files, the other via data load.
Publishing SAR Files
This content can be found in the following folders below the sar/
folder:
esite-base
esite-base-ws
esite-marketing
You have to publish these data into the commerce system as described below. See the HCL documentation at https://help.hcltechsw.com/commerce/8.0.0/admin/tasks/tpbpbst.html for more details.
Start the HCL Commerce server.
Pack the
SAR-INF
andWEB-INF
subfolders of each esite folder into a Zip file named after the esite folder. For example,esite-base.zip
. Change the file extension of the three Zip files to ".sar".Publish the
esite-base.sar
file into the commerce system, following the HCL documentation, using the publishstore tool. The other two files are automatically imported.Adapt the database settings in the environment configuration files
wc-dataload-env.xml
andwc-dataload-env-ws.xml
of each esite to the values of your database. You will find the files below:sar/<siteName>/WEB-INF/stores/PerfectChef_Catalog[_WS]/data/dataload
.In the files
sar/esite-base/WEB-INF/stores/PerfectChef_Catalog/data/ibm-wc-load.xml
andsar/esite-base-ws/WEB-INF/stores/PerfectChef_Catalog_WS/data/ibm-wc-load.xml
adapt the links to the location of the other SAR files in the task element with name "sarFileDeploy".<task name="sarFileDeploy"> <param name="storeArchiveFilename" value="/home/wcuser/sars/esite-marketing.sar"/>
Example 3.8. Default link setting
Importing Data via Data Load
See the HCL Commerce documentation https://help.hcltechsw.com/commerce/8.0.0/data/concepts/cmlbatchoverview.html for more details about data load.
Stop the HCL Commerce server in the HCL RAD environment.
Adapt the database settings in the Data Load environment configuration files (
SAMPLEDATA-ZIP\workspace\DataLoad\dataload\common\wc-dataload-env[-<siteName>].xml
) from the Sample archive Zip file to the settings of your WebSphere database.You can retrieve your database settings from the HCL RAD environment configuration file
WC/xml/config/wc-server.xml
, at the following XML element:<InstanceProperties> <Database> <DB>
Use the Data Load utility to load the data for all sites. Give the absolute path to the
wc-dataload.xml
file, for examplec:\lc-demo-data\workspace\DataLoad\dataload\common\AuroraESite\wc-dataload.xml
.