Wednesday, 12 June 2013

How to Delete Websphere Application Server Profile ?


Hi all,

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:
  1. First list all profiles on a server:
    List the profile using one of these commands
    Windows: was_install_dir\bin\manageprofiles.bat –listProfiles
    UNIX/Linux: was_install_dir/bin/manageprofiles.sh –listProfiles
  2. Remove 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
  3. 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 –validateAndUpdateRegistry
    On UNIX/Linux: was_install_dir/bin/manageprofiles.sh –validateAndUpdateRegistry
  4. 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 profileDirectory
    On 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

Effort only fully releases its reward after a person refuses to quit.”

Regards,
Akhilesh B. Humbe

2 comments:

Popular Posts