Here we are going to discuss how to delete the profile in Websphere Application server environment. I used the following to remove application server profile.
Note: Before deleting profile we need to stop all services associate with it.
e.g. Stop the Application server and webServer if configured.
Procedure:
- First list all profiles on a server:List the profile using one of these commandsWindows: was_install_dir\bin\manageprofiles.bat –listProfilesUNIX/Linux: was_install_dir/bin/manageprofiles.sh –listProfiles
- Remove a WebSphere Application Server profile:Delete the profile using one of these commands:On Windows: was_install_dir\bin\manageprofiles.bat –delete –profileName profileOn UNIX/Linux: was_install_dir/bin/manageprofiles.sh –delete –profileName profile
- Ensure that references to the deleted profile are removed from the profile registry by running the following command:On Windows: was_install_dir\bin\manageprofiles.bat –validateAndUpdateRegistryOn UNIX/Linux: was_install_dir/bin/manageprofiles.sh –validateAndUpdateRegistry
- Delete the profile directory tree (if it was not deleted by the previous action).Delete the profile Directory using one of these commands:On Windows: was_install_dir\profiles\rmdir /s profileDirectoryOn UNIX/Linux: was_install_dir\profiles\rm -R profileDirectory
Hope this will help you to delete the profile in your environment and for more option of manageprofile run the command manageprofiles.bat –help