FreeKB - IBM WebSphere Delete profile on the command line (manageprofiles)
IBM WebSphere - Delete profile on the command line (manageprofiles)

Before deleting a profile, stop all of the JVMs that are part of the profile and then stop the node. Use the following command to delete a profile on a Linux server.

-profileName profile_name


The following will be displayed if the profile is successfully deleted.

INSTCONFSUCCESS: Success: The profile no longer exists.


Validate and update the registry.

${WAS_INSTALL_ROOT}/profiles/your_profile/bin/ -validateAndUpdateRegistry


After the profile has been deleted, you may want to delete the remaining profile files.

Be aware that you always want to use to delete a profile before removing the profile directory. You do not want to remove the profile directory from the server without first deleting the profile, as there will cause an incomplete removal situation. For example, if you remove the profile directory, -listProfiles will still believe that the profile exists.

rm -rf ${WAS_INSTALL_ROOT}/profiles/your_profile_name


Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter 0568b in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   |