Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deleted Profile shows in profile management tool of IBM Websphere

I deleted the profile in C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles and it still shows up in Profile management tool, how to delete the profile in profile management tool?

like image 244
user3587174 Avatar asked Jun 18 '14 23:06

user3587174


People also ask

Was a profile removed?

Removing a WebSphere Application Server profile Delete the profile using one of these commands: On Windows: was_install_dir \bin\manageprofiles. bat –delete –profileName profile. On UNIX/Linux: was_install_dir /bin/manageprofiles.sh –delete –profileName profile.

What is profile management tool?

Profile management tools help admins keep tabs on users using cloud, migration and app virtualization.


2 Answers

Deleting a profile's directory is not enough; WebSphere holds additional information about profiles in its own internal directories.

The correct way to delete a profile is to use WebSphere's manageprofiles utility, located in WAS_HOME/bin (in your case: C:\Program Files (x86)\IBM\WebSphere\AppServer\bin). For example, if your profile's name is MyProfile:

manageprofiles -delete -profileName MyProfile
like image 179
Isaac Avatar answered Nov 02 '22 10:11

Isaac


Let me give an elaborate answer all issues pertaining to removing profiles

Make sure you have Full access (Read/Write/Delete) to the profiles folder. Open command window as Administrator (Shift+Right click>Run as Administrator). This will help to avoid FileNotFoundException. Run below command in the command window.

manageprofiles -delete -profileName Profilename

(Profilename is case sensitive).

If above one does not work, delete appropriate Profile folder manually and try below command

manageprofiles.bat -validateAndUpdateRegistry

Sometimes Windows service will remain after the removal of the profile, then run below command from bin folder

WASService.exe -remove Nodename

(Nodename will be the last part of Service name)

like image 42
Valath Avatar answered Nov 02 '22 09:11

Valath