This topic describes how to manually delete a profile.
Before you begin
Before using the manual procedure to remove a profile, try the wasprofile command with the -delete option. For example, issue one of the following commands:
./wasprofile.sh -delete -profileName profile_name | -profilePath profile_path
wasprofile.bat -delete -profileName profile_name | -profilePath profile_path
See wasprofile command.
If the command does not work, use this procedure to delete the profile.
Why and when to perform this task
INSTCONFFAILED: Cannot delete profile
Steps for this task
<profile isDefault="true" name="BadProfile" path="E:\IBM\WebSphere\AppServer\profiles\BadProfile" template="E:\IBM\WebSphere\AppServer\profileTemplates\default"/>
If the files are identical, delete the install_root/ properties/ fsdb/ _was_profile_default directory and the install_root/ properties/ fsdb/ bad_profile_name.sh file.
If the files are not identical, delete only the install_root/ properties/ fsdb/ bad_profile_name.sh file.
If the files are identical, delete the install_root\ properties\ fsdb\ _was_profile_default directory and the install_root\ properties\ fsdb\ bad_profile_name.bat file.
If the files are not identical, delete only the install_root\ properties\ fsdb\ bad_profile_name.bat file.
What to do next
See the description of the wasprofile command to learn more about the command-line method of working with profiles.
See Using the Profile creation wizard for more information about creating profiles with the Profile creation wizard.
Related tasks
Using the Profile creation wizard
Related reference
wasprofile command