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.

${WAS_INSTALL_ROOT}/profiles/your_profile/bin/manageprofiles.sh
-delete 
-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/manageprofiles.sh -validateAndUpdateRegistry

 

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

Be aware that you always want to use manageprofiles.sh 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, manageprofiles.sh -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 6afd4 in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |