WebSphere Commerce Version 8.0.4.10 or later

Enabling fix JR58317

JR58317 allows Management Center store preview to work in a clustered environment where all machines that have different preprocess directories.

Before you begin

Install WebSphere Commerce Version 8 Mod Pack 4 Fix Pack 10 or later.

Procedure

  1. Go to the WC_installdir/components/foundation/subcomponents/search/bin directory.
  2. Run the setupSearchIndex utility by passing the -action configWCforManagedPreprocess parameter. This parameter is introduced in Version 8.0.4.10.
    For example,
    ./setupSearchIndex.sh -action configWCforManagedPreprocess -masterCatalogId masterCatalogId -wasWCEarDir WC_eardir

Results

The preprocess files are created under the WC_eardir/xml/search/dataImport/v2/<DB type> folder and the CONFIG column of the SRCHCONF database table will include a key-value pair like "PreProcessConfigDirectory=/v2/<DB type>". When buildindex is triggered (by a scheduler job or Store preview), the folder is used for preprocessing.