Restoring the development environment to its default setup is accomplished by
using a convenient command called restoreDefault.bat.
After this
utility runs, the following development environment components are restored:
- Management Center, management-center.toolkit.80.component, is reset to the
default configuration.
- The Derby database is restored to include only the original bootstrap data.
Procedure
-
Open a command prompt and go to the WCDE_installdir\bin
directory.
-
Run the following command:
restoreDefault.bat
Or
restoreDefault.bat force
where
force
is an optional argument that bypasses the confirmation prompt.
-
Rebuild the search index:
-
Stop the WebSphere Commerce test server.
-
Locate and delete the /data/ directories that are under each of the Solr
cores.
For example, delete the following directories
- solrhome/masterCatalogId/localename/CatalogEntry/data
- solrhome/masterCatalogId/localename/CatalogEntry/unstructured/data
- solrhome/masterCatalogId/localename/CatalogGroup/data
- solrhome/masterCatalogId/localename/default/data
-
Preprocess the
WebSphere Commerce search index data.
-
Build the
WebSphere Commerce search index.
- Optional:
Check the log file WCDE_installdir\logs\setup.log for
details.
Note: You might notice the following error in the
updateModules.log file: java.lang.RuntimeException: Unable to acquire
PluginConverter service during generation. You can safely ignore these errors.