(dist)Uninstall the Web Server Plug-ins using response files
We can uninstall the Web Server Plug-ins using Installation Manager response files.
Remove the plug-ins will break communication between any web servers and their associated application servers. Be sure to unconfigure any web and applications servers that are using these plug-ins before uninstalling them.
Optional: Perform or record the installation of Installation Manager and installation of the Web Server Plug-ins to a temporary installation registry on one of the systems so that we can use this temporary registry to record the uninstallation without using the standard registry where Installation Manager is installed.
Use Installation Manager, we can work with response files to uninstall the Web Server Plug-ins in a variety of ways. We can record a response file using the GUI as described in the following procedure, or we can generate a new response file by hand or by taking an example and modifying it.
- Optional: Record a response file to uninstall the Web Server Plug-ins: On one of the systems, perform the following actions to record a response file that will uninstall the Web Server Plug-ins:
- From a command line, change to the eclipse subdirectory in the directory where you installed Installation Manager.
- Start Installation Manager from the command line using the -record option.
For example:
- Administrator or non-administrator:
IBMIM.exe -skipInstall "C:\temp\imRegistry" -record C:\temp\uninstall_response_file.xml
Administrator:
./IBMIM -skipInstall /var/temp/imRegistry -record /var/temp/uninstall_response_file.xml
Non-administrator:
./IBMIM -skipInstall user_home/var/temp/imRegistry -record user_home/var/temp/uninstall_response_file.xml
If we choose to use the -skipInstall parameter with a temporary installation registry created as described in Before beginning, Installation Manager uses the temporary installation registry while recording the response file. It is important to note that when the -skipInstall parameter is specified, no packages are installed or uninstalled. All of the actions that you perform in Installation Manager simply update the installation data stored in the specified temporary registry. After the response file is generated, it can be used to uninstall the Web Server Plug-ins, removing the Web Server Plug-ins files and updating the standard installation registry.
The -skipInstall operation should not be used on the actual agent data location used by Installation Manager. This is unsupported. Use a clean writable location, and re-use that location for future recording sessions.
For more information, read the IBM Installation Manager Version 1.6 Information Center or the IBM Installation Manager Version 1.5 Information Center.
- Click Uninstall.
- In the Uninstall Packages window, perform the following actions.
- Select Web Server Plug-ins for IBM WebSphere Application Server and the appropriate version.
If we are uninstalling the ILAN version of this product, select Web Server Plug-ins for IBM WebSphere Application Server (ILAN).
- Click Next.
- Review the summary information.
- Click Uninstall.
- If the uninstallation is successful, the program displays a message that indicates success.
- If the uninstallation is not successful, click View log to troubleshoot the problem.
- Click Finish.
- Click File > Exit to close Installation Manager.
- Use the response file to uninstall the Web Server Plug-ins: From a command line on each of the systems from which to uninstall the Web Server Plug-ins, change to the eclipse/tools subdirectory in the directory where you installed Installation Manager and use the response file created to uninstall the Web Server Plug-ins.
For example:
- Administrator or non-administrator:
imcl.exe input C:\temp\uninstall_response_file.xml -log C:\temp\uninstall_log.xml
Administrator:./imcl input /var/temp/uninstall_response_file.xml -log /var/temp/uninstall_log.xml
Non-administrator:./imcl input user_home/var/temp/uninstall_response_file.xml -log user_home/var/temp/uninstall_log.xml
Go to the IBM Installation Manager Version 1.6 Information Center or the IBM Installation Manager Version 1.5 Information Center for more information.
- Optional: List all installed packages to verify the uninstallation.
./imcl listInstalledPackages
imcl listInstalledPackages
Example
The following is an example of a response file for uninstalling the Web Server Plug-ins with a 32-bit SDK.<?xml version="1.0" encoding="UTF-8"?> <agent-input clean='true' temporary='true'> <uninstall modify='false'> <offering id='com.ibm.websphere.PLG.v85' profile='Web Server Plug-ins for IBM WebSphere Application Server V8.5' features='core.feature,arch.32bit'/> </uninstall> <profile id='Web Server Plug-ins for IBM WebSphere Application Server V8.5' installLocation='C:\IBM\WebSphere\Plugins'> <data key='eclipseLocation' value='C:\IBM\WebSphere\Plugins'/> <data key='user.import.profile' value='false'/> <data key='cic.selector.nl' value='en'/> </profile> </agent-input>See Sample response file: Uninstalling the Web Server Plug-ins for IBM WebSphere Application Server for an annotated sample of a response file for performing this procedure.
Related tasks
Install and uninstall the Web Server Plug-ins on distributed operating systems Install the Web Server Plug-ins using the GUI Install the Web Server Plug-ins using response files Install the Web Server Plug-ins using the command line Install fix packs on the Web Server Plug-ins using the GUI Uninstall fix packs from the Web Server Plug-ins using the GUI Uninstall Web Server Plug-ins using the GUI Uninstall the Web Server Plug-ins using the command line