Develop > WebSphere Commerce development environment > WebSphere Commerce development database


Reset the Apache Derby database to contain only bootstrap data

The initial installation of WebSphere Commerce Developer contains pre-published starter stores using Apache Derby as the development database type. You can reset the database and workspace so that they do not contain any starter store resources. If you have enabled features, running the resetdb and resetstores scripts returns the Apache Derby database to the most recently applied fix pack level.


Procedure

  1. Go to the WCDE_INSTALL \bin directory.

  2. Run the resetdb.bat script. When prompted, confirm that to reset the database by typing YES. This script resets the database to its bootstrap configuration.

  3. Run the resetstores.bat script. When prompted confirm that you want the stores information in the database to be reset by typing YES. This script resets the Stores Web module in the workspace to its bootstrap configuration. After running the script, the Stores Web module does not contain starter store resources.

  4. Use the Administration Console to publish only those starter stores that are of interest to you.

  5. If applicable, perform these steps:

    1. If you have applied a WebSphere Commerce fix pack, run the updatedb.bat script to update the database to the appropriate level. For example,

      WCDE_INSTALL\bin\updatedb.bat cloudscape

    2. If you have enabled features from a Feature Pack, re-enable the feature.
      Enabling the feature restores data.


Related concepts

WebSphere Commerce development database

WebSphere Commerce workspace

WebSphere Commerce development environment

Starter store archives

Stores in WebSphere Commerce

Store publish process


Related tasks

Access the development database directly

Related reference

Reset Stores utility


+

Search Tips   |   Advanced Search