Uninstalling a single server on Linux

You can uninstall IBM® WebSphere® Portal Express® only or both WebSphere Portal Express and IBM WebSphere Application Server using either the graphical user interface or silent uninstallation program.

Before you begin

If you are uninstalling as a non-root user, verify that all product directories and files have the correct permissions. If not, set their permissions to the non-root user.

About this task

Complete the following tasks to uninstall WebSphere Portal Express:

Procedure

  1. If you are uninstalling as a non-root user, verify that all product directories and files have the correct permissions. If not, set their permissions to the non-root user.
  2. Run the following tasks to stop the servers:
    • ./stopServer.sh WebSphere_Portal -username admin_userid -password admin_password, from the wp_profile_root/bin directory
    • ./stopServer.sh server1 -profileName cw_profile -username admin_userid -password admin_password, from the AppServer_root/bin directory
  3. Verify that there are no other installations or uninstallations running.
  4. Enter one of the following uninstallation commands to uninstall WebSphere Portal Express and WebSphere Application Server:
    Table 1. Commands to uninstall WebSphere Portal Express and WebSphere Application Server
    Option Commands
    Graphical user interface Open the Installation Manager and then select Uninstall.
    Silent From your installation source directory, run the ./imcl input pathtoresponse.xml -log pathtologfiles task
    Important: Do not place the response file in a path that contains a space and do not put a space in the file name.
  5. Remove any remaining WebSphere Portal Express directories from your directory structure.
  6. If you uninstall WebSphere Portal Express only, go to the AppServer_root directory and remove the following files:
    • lib/ext/commons-codec-1.3.jar
    • lib/ext/commons-httpclient-3.0.1.jar
    • lib/ext/openid4java-full-0.9.5.jar
    • lib/ext/wp.auth.base.sua_RedirectServletFilter.jar
    • lib/ext/wp.auth.base.sua_loginmodule.jar
    • lib/ext/wp.auth.tai.jar
    • lib/wp.user.connections.jar
    • lib/wp.wire.jar
    • plugins/com.ibm.patch.was.plugin.jar
    • plugins/com.ibm.wp.was.plugin.jar
    • plugins/wp.ext.jar
    • properties/jndi.properties
  7. Examine all running processes and kill any that contain the PortalServer_root directory or restart the machine, especially if you intend to reinstall WebSphere Portal Express on the same machine.
  8. Optional: After uninstalling WebSphere Portal Express and WebSphere Application Server, you can also delete Installation Manager. Run the ./uninstall command, located in the ibm/InstallationManager/uninstall directory.