Pages

Thursday, November 3, 2011

Uninstalling Feature pack installed on Websphere commerce


First step is to disable installed features of the feature pack on Websphere Commerce Server 7.0

Assuming current installation information
  1. IBM WCS 7
  2. IBM WCS Fix pack 2
  3. IBM WCS Feature Pack 2 on top of Feature pack 1
Feature pack 2 provides the following features
  1. content-version
  2. social-commerce
  3. store-enhancements
  4. management-center
  5. foundation
The features must be disabled in the order as shown above starting from a to e

Steps to uninstall feature pack

  1. Disable the features of the Feature pack
    1. Take a backup of the existing WCS configuration by issuing the following commandWC_profiledir/bin/backupConfig.bat backup_file.zip  (Windows)
    1. Backup the database (I am using DB2, so its pretty easy backing up using control centre)
    2. Disable features by issuing the following command for each feature that is enabled
config_ant.bat -buildfile
WC_installdir/components/common/xml/disableFeature.xml
-DinstanceName=
instance_name -DfeatureName=<<featurename>>
-DdbUserPassword=
db_password

where <<featurename>> is the name of the feature as detailed in a to e above except b.

For disabling social-enhancements, logon to WAS admin console and go to applications à websphere enterprise applications à and select WC_instance_name_soccom and click uninstall.
  1. Uninstall feature pack 2 by navigating to WC_installdir/uninstall.fep2 and click on Uninstall.exe. Follow the instructions. This will remove the feature pack 2.

1 comment:

  1. I not have a file disableFeature.xml in WC_installdir/components/common/xml (I do have a disableFeatureForToolkit.xml). I also do no have the config_ant bat file in WC_installdir/bin.

    PS. I have installed feature pack 4 and all seems to be working ok. I do not seem to be able to uninstall it.

    ReplyDelete