Disable WebSphere Commerce services
Disabling WebSphere Commerce services is performed by using an ANT target.Do not disable the WebSphere Commerce services feature if you have configured the WebSphere Commerce with WebSphere Portal feature. To disable WebSphere Commerce services:
AIX|Linux|Solaris|I5/OS|Windows:
For the WebSphere Commerce Server:
- If WebSphere Commerce is managed by WAS Deployment Manager (dmgr), start the deployment manager and all node agents. If WebSphere Commerce is not managed by WAS Deployment Manager (dmgr), start your WebSphere Commerce server.
- In the WC_installdir/bin directory, run this command:
config_ant.bat -buildfile WC_installdir/components/common/xml/disableFeature.xml -DinstanceName= instance -DfeatureName=component-services -DdbUserPassword= db_passwordAIX|Linux|
./config_ant.sh -buildfile WC_installdir/components/common/xml/disableFeature.xml -DinstanceName= instance -DfeatureName=component-services -DdbUserPassword= db_password
./config_ant.sh -buildfile WC_installdir/components/common/xml/disableFeature.xml -DinstanceName= instance -DfeatureName=component-services -DdbUserPassword= db_passwordIf the script runs successfully, you will see a BUILD SUCCESSFUL message in the command window where you ran the script. Otherwise, you will see a BUILD FAILED message.
For WebSphere Commerce Developer:
- Stop the Rational Application Developer and WebSphere Application Server servers.
- In the WCDE_installdir/bin directory, run this command:
disableFeature.bat -DfeatureName=component-servicesIf the script runs successfully, you will see a BUILD SUCCESSFUL message in the command window where you ran the script. Otherwise, you will see a BUILD FAILED message.- Start WebSphere Commerce Developer.
- Start the WebSphere Commerce Test Server.
- Right-click the test server in the Servers view and select Publish.
- Wait for the application to finish publishing to complete and to restart.
- Verify that the application starts successfully.
- You can verify if the feature was successfully disabled by examining WCDE_installdir /logs/disableFeature.log. Near the bottom of the log, it clearly states whether the build failed or passed. If the build passed, then the feature was disabled successfully. Exceptions might occasionally be displayed after the BUILD SUCCESSFUL message. You can safely ignore these exceptions as long as it says the build is successful.
Related concepts
WebSphere Commerce servicesRelated tasks
Enabling WebSphere Commerce services