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.
Asked
Active
Viewed 1,624 times
1

1201ProgramAlarm
- 32,384
- 7
- 42
- 56

kad
- 13
- 1
- 6
1 Answers
3
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.

Gas
- 17,601
- 4
- 46
- 93
-
It returned -> list of profiles that are not valid: dmgr01. dmgr01 was the name of the partially created profile. – kad Feb 05 '16 at 11:18
-
@kad that should be fine. And that operation should update the registry so you should be able to create new dmgr01 profile now. – Gas Feb 05 '16 at 12:24
-
For Windows users: if you cannot delete the directory, open the task manager and kill the java processes. Then try again deleting the directory. Worked for me. Thanks for the answer @gas – San Francesco Feb 18 '22 at 18:12