Friday, 31 October 2014

Reset Websphere Commerce Toolkit

IBM WCS Toolkit can be reset using the below steps

SetupPlugins.bat- This command creates the expected WebSphere Commerce WebSphere Application Server profile.
restoreDefault.bat - This script will delete WCS test server was profile, database and workspace and re-create them.
resetdb.bat - This script will reset the Derby database to bootstrap configuration(only works for  Derby).
resetstores.bat -  This script resets the Stores Web module in your workspace to its bootstrap configuration.
setdbtype.bat – setdbtype cloudscape . To change the database type to DB2, Oracle, or back to Apache Derby, run the setdbtype command. If you switch development databases, you must re-enable any features that you are using from WebSphere Commerce feature packs.
Updatedb.bat- Bring back to old fix pack level.
If you want to switch development databases after you install the latest fix pack, you must update to the new database manually by running the updatedb command. The new database is restored to bootstrap state after you switch databases.

If you switch development databases, you must re-enable any features that you are using from WebSphere Commerce feature packs
For e.g.: Enabling "store-enhancements" features  will enable foundations and management center features  as well

c:\ibm\WCDE_ENT70\bin>enableFeature.bat -DfeatureName=store-enhancements
Note: Any features that are enabled before you run the setdbtype command must be re-enabled.

No comments:

Post a Comment