IBM SG24-6320-00 Marine Radio User Manual


 
6320ch_install_56.fm Draft Document for Review July 28, 2004 7:33 pm
180 Keeping Commerce Applications Updated WebSphere Commerce 5.1 to 5.6 Migration Guide
Example 9-1 Sample rmPaymentServer.bat script
@echo off
REM Licensed Materials - Property of IBM
REM 5724-A18
REM (c) Copyright IBM Corp. 2000, 2004
REM US Government Users Restricted Rights - Use, duplication or
REM disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
setlocal
call config_env.bat
if exist %WAS_HOME%\bin\setupCmdLine.bat call %WAS_HOME%\bin\setupCmdLine.bat
set instanceName=%1
set serverName=%instanceName%_Commerce_Payments_Server
if "%instanceName%"=="" goto USAGE
set defs="-Dwas.install.root=%WAS_HOME%"
set defs=%defs% "-Dwas.repository.root=%CONFIG_ROOT%"
set defs=%defs% "-Dws.ext.dirs=%WAS_EXT_DIRS%"
set defs=%defs% -Dcom.ibm.CORBA.BootstrapHost=%COMPUTERNAME%
set defs=%defs% -Djava.security.policy="config.policy"
set classname=com.ibm.commerce.config.components.WAS5AdminClient
set params=-deleteInstance "%instanceName%"
"%JAVA_HOME%\bin\java" %PM_ARGS% %defs% %classname% %params%
"%WAS_HOME%\bin\WASService" -remove %serverName%
goto END
:USAGE
echo Usage: rmPaymentsServer (instanceName)
goto END
:END
endlocal
3. Remove the instance database. Issue the following command from a DB2
command window:
db2 drop database <database_name>
Where <database_name> is the name of the instance database.
4. Remove the instance reference in the wcs_instances file:
a. Start the Configuration Manager as described in Appendix A., “Managing
WebSphere Commerce components” on page 239.