Deleting a profile

This topic describes how to manually delete a profile.

Before you begin

Before you delete a profile, stop its Application Server to ensure that the Application Server can be deleted.

Before using the manual procedure to remove a profile, unaugment the profile and then try the wasprofile command with the -delete option. For example, issue the following commands for your operating system platform:

[Linux] [HP-UX] [Solaris] [AIX]
./wasprofile.sh -unaugment
                -profileName profile_name

./wasprofile.sh -delete 
                -profileName profile_name
[Windows]
wasprofile.bat -unaugment
               -profileName profile_name
wasprofile.bat -delete 
               -profileName profile_name

If the command does not work, use this procedure to delete the profile.

About this task

This procedure describes how to manually delete a profile when the wasprofile -delete command results in the following message:
INSTCONFFAILED: Cannot delete profile.

Procedure

  1. Issue operating system commands to delete the profile directory.
  2. Issue the following command to remove references in the registry to deleted profiles:
    [Linux] [HP-UX] [Solaris] [AIX]
    ./wasprofile.sh -validateAndUpdateRegistry 
    
    [Windows]
    wasprofile.bat -validateAndUpdateRegistry
    Editing of the registry is not recommended.

Results

You have now deleted a profile.

What to do next

See the description of the wasprofile command to learn more about the command-line method of working with profiles.

See Creating profiles using the graphical user interface for more information about creating profiles with the Profile Creation wizard.




In this information ...


Related reference

IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic    

Terms of Use | Feedback

Last updated: Aug 29, 2010 5:25:00 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=vela&product=was-base-dist&topic=tpro_removeprofile
File name: tpro_removeprofile.html