While practicing on WAS (Websphere Application Server 6.1), my mind stroked at a point that " How will I delete the profile I created earlier during practice". After sticking to this and getting into it I found that it can be done through command prompt, but results doesn't clean all mess. Few steps to follow for this clean profile deletion act.
Step B:
Now the profile has been deleted but logs have been left undeleted in profile directory, therefore now delete the profile directory itself
Step C:
Now validate registry by following command
Note: If while creation you have selected profile to act as window service then after first step you can check that service will be disabled and after step c, you should run a command to delete that service which is as follows
Step A:
The command we are going to use is manageprofiles.bat
which is located at <root>\AppServer\bin\
and we will be using delete attribute for this. so the complete command turns out to be:
*be careful command are case sensitive
The command we are going to use is manageprofiles.bat
which is located at <root>\AppServer\bin\
and we will be using delete attribute for this. so the complete command turns out to be:
*be careful command are case sensitive
manageprofiles.bat -delete -profileName <profilename>
Step B:
Now the profile has been deleted but logs have been left undeleted in profile directory, therefore now delete the profile directory itself
<root>AppServer\profiles\<profilename>
Step C:
Now validate registry by following command
manageprofiles -validateAndUpdateRegistry
Note: If while creation you have selected profile to act as window service then after first step you can check that service will be disabled and after step c, you should run a command to delete that service which is as follows
WASService.exe -remove <servicename>
0 nhận xét:
Đăng nhận xét