Steps for uninstalling WebSphere Portal Server

While uninstalling the WebSphere Portal Server, all the components that come as a part of the umbrella installation of WPS will also be uninstalled. 

But when the uninstall wizard is run, some folders and registries / registry keys of few components might not have been removed from the file system / registry. This will cause the fresh WPS installation to finish successfully, but with an incomplete installation of the MQ Server (This can be seen in the logs - \log\mq_install.log). 

To ensure a trouble free reinstall, the following steps can be followed.

1. Stop the Portal Server
2. Stop the Application Server
3. Stop all Java processes that are running
4. Uninstall WPS from Add/Remove programs
5. Uninstall MQ components if not used
6. Uninstall WebSphere Embedded messaging
7. Uninstall Secure Way LDAP, if left uninstalled
8. Uninstall DB2 if left uninstalled
9. Do NOT remove “gsktoolkit”
10. Reboot the machine
11. Remove all physical directories from the file system (Do NOT delete “gsk”)
12. Remove IBMWPO directory if it exists
13. Remove the following windows registry entries: *

a. Registry entry for IBM:

· HKEY_LOCAL_MACHINE\SOFTWARE\IBM

b. Two keys for the Embedded Messaging feature for WEMPS:

· HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\1E5744D76F283AA4AAC375A09C50C9A0

· HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\1E5744D76F283AA4AAC375A09C50C9A0

c. Two keys for IBM WebSphere MQ:

· HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\83CD08B8AE134C44AA89E431C1B384F7

· HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\83CD08B8AE134C44AA89E431C1B384F7

Once the above steps have been done, a fresh installation of the WebSphere Portal Server can be started. 

Note: This issue is generic to WAS installations (v5.0 / v5.1) and could possibly be applicable to a wide number of products installed over WAS 5.0 or WAS 5.1.

Precautions: While removing the registry entries, one should be very careful, and before deleting, should always take a backup of the registries to be deleted. For more information on how to take registry backups, please visit the Microsoft website.

No comments:

Post a Comment