The uninstall command uninstalls the product. When you uninstall the product, the uninstaller program removes the core product files and all of the profiles. A silent parameter runs the wizard in silent mode without displaying the graphical user interface.
This topic describes the command-line syntax for the uninstall command. Start the uninstall command module from the command line to uninstall the product.
Before you begin uninstalling the product
Manually stop all servers before uninstalling the product.
See Uninstalling the WebSphere Application Server product for more information.
The command file is in the app_server_root\uninstall directory.
Operating System | WebSphere® Application Server | Application Client | IBM® HTTP Server | Web Server Plug-ins | Edge Components | Update Installer (UPDI) |
---|---|---|---|---|---|---|
AIX® | uninstall | uninstall | uninstall | uninstall | uninstall | uninstall |
HP-UX | uninstall | uninstall | uninstall | uninstall | uninstall | uninstall |
IBM i | uninstall | uninstall | N/A | uninstall | N/A | uninstall |
Linux® | uninstall | uninstall | uninstall | uninstall | uninstall | uninstall |
Solaris | uninstall | uninstall | uninstall | uninstall | uninstall | uninstall |
Windows® | uninstall.exe | uninstall.exe | uninstall.exe | uninstall.exe | uninstall.exe | uninstall.exe |
Uninstalling WebSphere Application Server Network Deployment removes all the product libraries and directories. If you do not specify the option to keep all the profiles when you invoke the uninstall script, the profiles are removed. If you later decide that you do not need the profiles, you can manually remove them.
Examine the app_server_root/logs/uninstall/log.txt file.
(date_time), Uninstall, com.ibm.ws.install.ni.ismp.actions. SetExitCodeAction, msg1, CWUPI0000I: EXITCODE=0 (date_time), Uninstall, com.ibm.ws.install.ni.ismp.actions. ISMPLogSuccessMessageAction, msg1, INSTCONFSUCCESS
Verify that there were no file system or other unusual errors while uninstalling. If there are problems, correct them, and uninstall manually before reinstalling the product. See Uninstalling manually.
After uninstalling WebSphere Application Server Network Deployment, delete the installation root directory before reinstalling into the same directory. Deleting the old directory avoids XML configurations that are not valid that result from retaining old files.