Install > Installing maintenance > WebSphere Commerce > Uninstall WebSphere Commerce fix packs > ...silently


Remove the fix pack from an instance silently

Before removing a fix pack, remove the fix pack from any WCS instances that were updated to the fix pack level.


Before you begin

Identify the WCS instance that the fix pack will be removed from. If you have created the instance after applying the fix pack, you cannot uninstall the fix pack from that instance.

Complete the following steps to remove the fix pack from your WCS instance.


Procedure

  1. Ensure that you are logged in with a user ID that is a member of the Windows Administration group.

  2. Ensure that you are logged in as the root user. Use one of the following methods:

    • Sign on with the root user.

    • If you are already signed onto the system, issue the command su - root. Do not use the command su root. This command does not load the root user's profile and environment which are required for fix pack installation.

  3. Ensure that you are logged in with a user profile that has *SECOFR authority.

  4. Verify the WebSphere Commerce administrative server is started. For example:

    • If WebSphere Commerce is managed by WebSphere Application Server Deployment Manager (dmgr), start the deployment manager and all node agents. Optionally, your cluster can also be started.

    • If WebSphere Commerce is not managed by WebSphere Application Server Deployment Manager (dmgr), start the WebSphere Application Server server1.

    During the removal of maintenance from the WCS instance, the Update Installer stops the WebSphere Commerce application automatically.

  5. Navigate to the UPDI_installdir/responsefiles directory and open the uninstall.txt file in a text editor. Edit the following lines:

    1. Update the -W backup.package entry with the directory name that contains the maintenance package.

      If the -W backup.package is not specified, the most recently installed maintenance package is uninstalled.

    2. Update the -W product.location with the location of the WebSphere Commerce install directory.

    3. Complete one of the following steps:

      • If you are updating a WCS instance, add the following lines to the end of the uninstall.txt file:

        -W update.instancename="instance"
        

      • If you have a WebSphere Commerce Payments instance without WebSphere Application Server security enabled, add the following line to the end of the uninstall.txt file:

        -W update.instancename="payments_instance"
        

      • If you have a WebSphere Commerce Payments instance with WebSphere Application Server security enabled, add the following lines to the end of the uninstall.txt file:

        -W update.instancename="payments_instance"
        -W update.wassecurityenable="true" 
        -W update.wasuserid="WAS_user" 
        -W update.wasuserpassword="WAS_password"
        

        where WAS_user is a user defined in the user registry and WAS_password is the associated password for the user.

    4. Save the file changes.

  6. Open the QShell by typing QSH at the command prompt.

  7. Run one of the following commands from the UPDI_installdir directory:

    When the prompt returns wait for the Java process associated with the Update Installer to finish.

  8. Refer to the log files in the following directory to verify that the uninstall was successful: WC_INSTALL/logs/update/actions/uninstall.

  9. Complete one of the following steps:

    • If you have a WCS instance, restart the WebSphere Commerce application.

    • If you have a WebSphere Commerce Payments instance with no security enabled, restart the WebSphere Commerce Payments application.

    • If you have a WebSphere Commerce Payments instance with security enabled...

      1. Log in as the non-root user.

      2. Navigate to directory WC_INSTALL/payments/bin.

      3. Run the following command:


What to do next

If you have applied the fix pack to multiple WebSphere Commerce or WebSphere Commerce Payments instances, repeat this process for each instance.


+

Search Tips   |   Advanced Search