Search code examples
webspherewebsphere-7

How to delete a deployment manager profile that was partially created?


I was creating a deployment manager profile in IBM WebSphere. I stopped it while it was creating using ctrl+C. When I ran the command manageprofiles.sh -listProfiles, it did not return any profiles([]). Then I tried creating the profile with the same name but I got a message stating a profile with the same name already exists. So I tried running the manageprofiles -delete command with the partially created profile name only to find that the profile does not exist.


Solution

  • Just delete the partially created directory from WAS_ROOT/profiles/ and run the manageprofiles -validateAndUpdateRegistry command. You should be fine then.

    -validateAndUpdateRegistry Checks all of the profiles that are listed in the profile registry to see if the profiles are present on the file system. Removes any missing profiles from the registry. Returns a list of the missing profiles that were deleted from the registry.

    See manageprofiles command