Follow the instructions below to remove the Endeca application that supports Commerce Reference Store.

To run the --remove-app command:

The next part of the procedure involves removing the record stores in CAS. Removing these record stores requires creating a drop_records.sh|bat script and running it. The easiest way to create the drop_records.sh|bat script is to create a copy of the existing initialize_rs_feeds.sh|bat script and modify it to include only the record dropping functionality.

To remove the record stores in CAS:

CONTROL_DIR=`dirname ${0} 2>/dev/null`

. "${CONTROL_DIR}/../config/script/set_environment.sh"

RS_PREFIX=$ENDECA_PROJECT_NAME
RS_LANG=$LANGUAGE_ID

echo These record stores exist:
$CAS_ROOT/bin/component-manager-cmd.sh list-components
echo ==================================================

echo "Dropping old record stores (errors will occur on non-existent rs):"
$CAS_ROOT/bin/component-manager-cmd.sh delete-component -n ${RS_PREFIX}_${RS_LANG}_schema
$CAS_ROOT/bin/component-manager-cmd.sh delete-component -n ${RS_PREFIX}_${RS_LANG}_dimvals
$CAS_ROOT/bin/component-manager-cmd.sh delete-component -n ${RS_PREFIX}_${RS_LANG}_prules
$CAS_ROOT/bin/component-manager-cmd.sh delete-component -n ${RS_PREFIX}_${RS_LANG}_data
echo ==================================================

At this point, you are ready for a clean Commerce Reference Store installation. To do a clean install, begin with the Installing the Oracle ATG Web Commerce Software section in this guide.


Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved. Legal Notices