IBM Support

How To Manually Remove/Delete IBM WebSphere Application Server Profiles

Troubleshooting


Problem

This document describes how to manually remove/delete an IBM WebSphere Application Server (WAS) profiles.

Resolving The Problem

From the operating system command line, enter the following commands:
1. STRQSH
2. cd /<websphereInstallationPath>/bin

Example: cd /QIBM/ProdData/WebSphere/AppServer/V85/Express/bin
3. manageprofiles -delete -profileName <profileName>

Example: manageprofiles -delete -profileName IBMTEST

The profile should now be deleted. If the command fails or there seem to be parts of the profile that did not get deleted, you may forcefully remove the profile with the following additional commands:
 
1. cd /QIBM/UserData/WebSphere/AppServer/V85/Express/profiles
2. rm -r <profileName>
3. ls

Note: Verify that you do not see your profile name listed after the ls command.
4. cd /QIBM/UserData/WebSphere/AppServer/V85/Express/profileregistry/fsdb
5. rm -r <profileName>
6. ls

Note: Verify again that you do not see your profile name listed.
7. Press F3 to exit QSHELL.
8. WRKLNK '/QIBM/UserData/WebSphere/AppServer/V85/Express/profileregistry/'
9. Enter option 2 to edit the profileregistry.xml file.
10. Find the line that corresponds with your profile name and remove the entire line by entering a 'd' next to it and hitting Enter.

Note: It should look something like this: <profile isAReservationTicket="false" isDefault="false" name="<yourProfileName>"
path="/QIBM/UserData/WebSphere/AppServer/V85/Express/pro....

Once you remove that entry, you will have completely removed the profile from your system.

[{"Type":"MASTER","Line of Business":{"code":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000000CHUAA2","label":"WebSphere Application Server"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions"}]

Document Information

Modified date:
28 October 2024

UID

nas8N1020220