Steps must be completed before beginning to
migrate your
WebSphere Commerce development environment database. Review this information
for additional tasks and instructions on migrating the database.
Procedure
- Go to directory WCDE_installdir\bin.
- Run the database check script by typing:
wcim_ant.bat -tier db -action check -from previous_version
Where:
- previous_version
- The version of WebSphere Commerce you are migrating from: 561 or 60.
- Run the database migration
script by typing:
wcim_ant.bat -tier db -action migrate -from previous_version
Where:
- previous_version
- The version
of WebSphere Commerce you are migrating from: 561 or 60.
- Check the
wcim.server.yyyy.mm.dd_hh.mm.ss.log
file
in the WCDE_installdir\logs\WCIM\ directory
(assuming you are using the defaults) for additional messages or errors.
Resolve any errors that are flagged before proceeding. To check the
log files, complete the following steps: - Access
the log file by typing the following path:
- WC_installdir\logs\WCIM\wcim.server.yyyy.mm.dd_hh.mm.ss.log
- Review warnings generated by the
database tier migration
script and determine if any actions are needed based on those warnings.
The actions can be found within the warning. The following list shows
the type of warnings to review:
[2009.09.23.23.07.23] WARNING: [wcimBootstrapDeltaTask] The bootstrap data has changed. Consider replacing data in table cmdreg with data in cmdreg_new.
[2009.09.23.23.07.23] WARNING: [wcimBootstrapDeltaTask] The row in thecmdreg_new: storeent_id = 0, interfacename = 0, classname = com.ibm.commerce.usermanagement.commands.UserRegistrationAddCmd, properties = com.ibm.commerce.usermanagement.commands.UserRegistrationAddUBFCmdImpl
[2009.09.23.23.07.23] WARNING: [wcimBootstrapDeltaTask] The row in thecmdreg : storeent_id = 0, interfacename = 0, classname = null, properties = com.ibm.commerce.usermanagement.commands.UserRegistrationAddCmdImpl
[2009.09.23.23.07.23] WARNING: [wcimBootstrapDeltaTask] The row in thecmdreg_new: storeent_id = 0, interfacename = 0, classname = com.ibm.commerce.order.calculation.ApplyShippingCmd, properties = com.ibm.commerce.order.calculation.ApplyShippingCmdImpl
[2009.09.23.23.07.23] WARNING: [wcimBootstrapDeltaTask] The row in thecmdreg : storeent_id = 0, interfacename = 0, classname = null, properties = com.ibm.commerce.order.calculation.PromotionEngineApplyShippingCmdImpl